teal-language / tl

The compiler for Teal, a typed dialect of Lua
MIT License
2.1k stars 108 forks source link

accept nested type arguments #550

Closed hishamhm closed 2 years ago

hishamhm commented 2 years ago

Fixes C++98-like ambiguity when using nested type variables like T<U<V>>, as pointed out by @wqferr, using a C++11-like solution in the parser.

github-actions[bot] commented 2 years ago

Teal Playground URL: https://550--teal-playground-preview.netlify.app