diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-09 22:26:09 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-09 22:26:09 +0300 |
| commit | 0bee8234a52c9399544364e8d26b124cb487ce7c (patch) | |
| tree | e026b5482d740473c50055f4424eb87b362ddddc /tests/generic.ek | |
| parent | aa7ea13840e68abff8e9cf74376a6276f6a99033 (diff) | |
| download | ek-0bee8234a52c9399544364e8d26b124cb487ce7c.tar.gz ek-0bee8234a52c9399544364e8d26b124cb487ce7c.zip | |
fix trait expansion
+ Accidentally referenced an owned string, add strdup()
+ Didn't replace type IDs in ->t2
Diffstat (limited to 'tests/generic.ek')
| -rw-r--r-- | tests/generic.ek | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/generic.ek b/tests/generic.ek new file mode 100644 index 0000000..7e17d97 --- /dev/null +++ b/tests/generic.ek @@ -0,0 +1,7 @@ +typedef i27 {} +typedef a[any T] {} + +main() +{ + a![i27] a; +} |
