summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authormetagn <10591326+metagn@users.noreply.github.com>2022-01-19 14:38:14 +0300
committerGitHub <noreply@github.com>2022-01-19 12:38:14 +0100
commit08261cb9e33445553144219023900b4ced0b0f55 (patch)
tree6661f3e118bc0d3320e32757c117f0fef6edb13f /lib/system.nim
parent5d34e81f2363e1de97916ac60b028b9a8b287a4b (diff)
downloadNim-08261cb9e33445553144219023900b4ced0b0f55.tar.gz
Don't reject types directly on AST (#19407)
Instead of rejecting type expressions based on node kind,
evaluate the expression as a type.
This is already the behavior for call results, and it has its own error
for non-types, which is the same error you would normally get
with 2 words swapped.
Diffstat (limited to 'lib/system.nim')
0 files changed, 0 insertions, 0 deletions