given this code:
--stylua: ignore
type Repro = rawget<
>
type Repro = rawget<
--
--
>
local a: true = {
--
}
lute check emits:
repro.luau:2:14-100: (W0) TypeError: Generic type 'rawget<T, U>' expects 2 type arguments, but none are specified
repro.luau:4:15-100: (W0) TypeError: Generic type 'rawget<T, U>' expects 2 type arguments, but none are specified
repro.luau:8:17-100: (W0) TypeError: Expected this to be 'true', but got '{ }'
but when run on this code:
type Repro = rawget<>
type Repro2 = rawget<>
local a: true = {}
it correctly reports ending columns of 21, 22, and 18:
repro.luau:1:14-21: (W0) TypeError: Generic type 'rawget<T, U>' expects 2 type arguments, but none are specified
repro.luau:2:15-22: (W0) TypeError: Generic type 'rawget<T, U>' expects 2 type arguments, but none are specified
repro.luau:3:17-18: (W0) TypeError: Expected this to be 'true', but got '{ }'
unrelated, i would expect a format of :beginline:begincolumn-endline:endcolumn instead of :beginline:begincolumn-endcolumn tbh
given this code:
lute checkemits:but when run on this code:
it correctly reports ending columns of
21,22, and18:unrelated, i would expect a format of
:beginline:begincolumn-endline:endcolumninstead of:beginline:begincolumn-endcolumntbh