Files
Nim/compiler
ringabout cb24eea86b fixes #20426; remove maincommand and m options since they are a no op since 2014 (#20429)
* bump macOS image on Azure CI to macos-11

##[warning]The macOS-10.15 environment is deprecated, consider switching to macos-11(macos-latest), macos-12 instead. For more details see https://github.com/actions/virtual-environments/issues/5583

* fix CI error

* fixes #20426; remove `maincommand` and `m` options since they are a noop since 2014 and causes confusion

fixes #20426

7f7b13a45f (diff-d949f8c356fd2dc9ceedc6f3dbbd01e2c806269dd0a8ad6516facf589fa2c99a) makes it a no op, but it causes a regression because it should add `expectArg(switch, arg, pass, info)` before the discard statement. It causes https://github.com/nim-lang/Nim/issues/20426 to happen. Without `expectArg(switch, arg, pass, info)`, `-mm:orc` is wrongly interpreted as `-m` and compiler, which doesn't make sense. It should either abort compilation or prints `argument for command line option expected: '-m'` message. Since they are a no op since 2014, let's remove it to clear the confusion. Let's wait and see whether it breaks something.

* add a changelog
2022-09-26 15:40:20 -04:00
..
2022-03-20 14:02:44 +01:00
2021-03-19 16:53:38 +01:00
2022-09-01 18:10:00 +02:00
2017-01-07 22:35:09 +01:00
2022-09-01 18:10:00 +02:00
2019-11-28 17:13:04 +01:00
2021-05-20 15:48:46 +02:00
2021-01-12 09:36:51 +01:00
2022-03-23 20:34:53 +01:00
2022-09-23 13:05:05 +02:00
2019-09-27 07:02:54 +02:00
2022-09-01 18:10:00 +02:00
2022-09-23 13:05:05 +02:00
2021-01-07 20:26:40 +01:00
2021-04-07 19:54:28 +02:00
2022-09-11 08:33:24 +02:00
2020-11-10 21:53:25 +01:00
2022-08-24 13:38:30 +02:00
2022-08-31 19:39:02 -04:00

Nim Compiler

  • This directory contains the Nim compiler written in Nim.
  • Note that this code has been translated from a bootstrapping version written in Pascal.
  • So the code is not a poster child of good Nim code.

See Internals of the Nim Compiler for more information.