-
-
Notifications
You must be signed in to change notification settings - Fork 372
Open
Labels
bugSomething isn't workingSomething isn't workingfeat/genericRelated to generic emulation featureRelated to generic emulation feature
Description
---@class A<T> : { typed_dummy: T }
---@field dummy number
---@type A<number>
local a
local b = a.typed_dummy -- ok
local c = a.dummy -- warning, undefined field
---@class A<T> : { typed_dummy: T }
---@field dummy number
---@type A<number>|A
local a
local b = a.typed_dummy -- ok
local c = a.dummy -- now ok too
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfeat/genericRelated to generic emulation featureRelated to generic emulation feature