diff options
author | hlaaftana <10591326+hlaaftana@users.noreply.github.com> | 2020-05-08 08:54:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 07:54:46 +0200 |
commit | de27910ab72dca681188953ae963802520271e43 (patch) | |
tree | 7ba0e839a7d659004ae9beb87d07bea31ee7e2fe /tests/parser | |
parent | 5fa7d374c4cb777372cf5b967575f228bda23c2b (diff) | |
download | Nim-de27910ab72dca681188953ae963802520271e43.tar.gz |
make `from` an operator (#14241)
Diffstat (limited to 'tests/parser')
-rw-r--r-- | tests/parser/tstatementoperators.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/parser/tstatementoperators.nim b/tests/parser/tstatementoperators.nim new file mode 100644 index 000000000..d2b85bb4b --- /dev/null +++ b/tests/parser/tstatementoperators.nim @@ -0,0 +1,12 @@ +discard """ + nimout: ''' +Infix + Ident "from" + Ident "a" + Ident "b" +''' +""" + +from macros import dumpTree + +dumpTree(a from b) \ No newline at end of file |