Andy Friesen
Andy Friesen
We've talked about offering a cleaner way to do reexports, but we haven't gotten to the point of writing an RFC for it yet.
I expect that the solution to this problem (and problems like it) will come from https://github.com/Roblox/luau/pull/863
This would be pretty challenging to implement. We might be able to get to it someday, but not for awhile.
Minimal reproduction: ```luau --!strict local function f() local a local b local c = a + b print(c + d) end ```
The problem here is that we can't pin down an exact type for `amount`. In principle, the solution here would be constrained generics so that we could say something like...