This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit d73b5c5
committed
lc-run: Deprecate 'main' as default entry point; prefer 'Main'.
Since lowercase identifiers are reserved for syntax, lc-run should use
a default handler called `Main()` not `main()`.
For the time being:
1) look for a handler called `Main()`, or
2) look for a handler called `main()` and emit a deprecation warning, or
3) print an error message.1 parent 666f2e4 commit d73b5c5
4 files changed
Lines changed: 61 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
421 | 424 | | |
422 | 425 | | |
423 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
424 | 472 | | |
425 | 473 | | |
426 | 474 | | |
| |||
439 | 487 | | |
440 | 488 | | |
441 | 489 | | |
442 | | - | |
| 490 | + | |
443 | 491 | | |
444 | 492 | | |
445 | 493 | | |
| |||
465 | 513 | | |
466 | 514 | | |
467 | 515 | | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
468 | 520 | | |
469 | 521 | | |
470 | 522 | | |
471 | 523 | | |
472 | | - | |
| 524 | + | |
473 | 525 | | |
474 | 526 | | |
475 | 527 | | |
| |||
0 commit comments