diff options
author | metagn <metagngn@gmail.com> | 2022-09-06 00:38:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 23:38:38 +0200 |
commit | 5ebd1248dfe517fd932c401f71d1e5aeb023b0e4 (patch) | |
tree | 0413fef17dd80f5b888caae12d4aa69832408827 /tests/enum/mcrossmodule.nim | |
parent | 8dcf367e5223ae26b57c9bbfaec6e70ac14bb820 (diff) | |
download | Nim-5ebd1248dfe517fd932c401f71d1e5aeb023b0e4.tar.gz |
overloadable enums no longer experimental (#20298)
depends on #20126
Diffstat (limited to 'tests/enum/mcrossmodule.nim')
-rw-r--r-- | tests/enum/mcrossmodule.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/enum/mcrossmodule.nim b/tests/enum/mcrossmodule.nim new file mode 100644 index 000000000..e534a202c --- /dev/null +++ b/tests/enum/mcrossmodule.nim @@ -0,0 +1,6 @@ + +type + OtherEnum* = enum + Success, Failed, More + +proc some*(x: OtherEnum): bool = x == Success |