Files
Nim/compiler
Jake Leahy 741fed716e Use analyseIfAddressTaken logic for checking if address is taken in converter (#21533)
* Add a test case

There are way more test cases (See all branches of analyseIfAddressTaken but this covers at least a second branch

* Port analyseIfAddressTaken from semexprs to sigmatch

This was done since we cannot import sem or semexprs (circular import) but we need the rest of the logic. In needs to be done here since the converter isn't semmed afterwards and so we can't just leave the process til later use the version from semexprs

* Less hacky solution which has the checking be done in analyseIfAddressTakenInCall

This was done instead of the recommendation on removing it since sfAddrTaken is used in places other than the backend

* Remove weird whitespace

* Still check nkHiddenAddr if we are checking a converter
2023-03-20 18:48:13 +01:00
..
2022-12-01 14:26:59 -05:00
2022-12-26 13:20:05 +01:00
2022-09-27 10:57:47 +02:00
2022-09-27 10:57:47 +02:00
2022-09-27 10:57:47 +02:00
2023-03-13 17:32:20 +01:00
2017-01-07 22:35:09 +01:00
2022-10-17 23:48:51 +02:00
2022-10-10 21:40:07 +02:00
2022-12-16 08:01:15 +01:00
2019-11-28 17:13:04 +01:00
2022-10-17 23:48:51 +02:00
2023-03-03 23:37:12 +01:00
2023-03-04 07:57:30 +01:00
2023-03-10 14:20:30 +01:00
2021-01-12 09:36:51 +01:00
2022-03-23 20:34:53 +01:00
2022-10-17 23:48:51 +02:00
2019-09-27 07:02:54 +02:00
2022-10-01 16:46:51 +02:00
2022-10-17 23:48:51 +02:00
2023-01-01 10:25:04 +01:00
2022-10-17 23:48:51 +02:00
2022-10-17 23:48:51 +02: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.