luau-lang / luau

A fast, small, safe, gradually typed embeddable scripting language derived from Lua
https://luau.org
MIT License
4.08k stars 382 forks source link

New Solver: Type error when calling debug.info #1534

Open funwolf7 opened 1 week ago

funwolf7 commented 1 week ago

When calling debug.info and assigning the result to a variable, the type error Type pack '...any' could not be converted into 'a...' is raised. Only happens in the new solver.

--!strict
local f = debug.info(1, "f")