diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-24 15:24:44 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-24 15:24:44 -0500 |
| commit | 106704b9564b50e95dfce50b7a7471e73b64a78e (patch) | |
| tree | 509e94ff49f76c9c2edc75c20fe1da9bfd600912 /tests | |
| parent | c7470346457550467bafd9199185c5d0e8481f02 (diff) | |
Improve enums with metamethods
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/enums.nl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/enums.nl b/tests/enums.nl new file mode 100644 index 00000000..485a262b --- /dev/null +++ b/tests/enums.nl @@ -0,0 +1,5 @@ +enum Foo(Zero, One(x:Int), Two(x,y:Int)) + +>> Foo__Zero() +>> Foo__One(123) +>> Foo__Two(123, 456) |
