Closed hishamhm closed 1 year ago
A tricky aspect of bidirectional flow typing: let's ensure that in a method, the self type flows down before the return type flows up.
Also, the test case demonstrates that the table map type has bivariant behavior to ease the transition of Lua code.
table
Fixes #619.
Teal Playground URL: https://623--teal-playground-preview.netlify.app
A tricky aspect of bidirectional flow typing: let's ensure that in a method, the self type flows down before the return type flows up.
Also, the test case demonstrates that the
table
map type has bivariant behavior to ease the transition of Lua code.Fixes #619.