We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096274d commit 624e293Copy full SHA for 624e293
test/diagnostics/missing-fields.lua
@@ -462,4 +462,38 @@ local function f(b) end
462
f <!{y = 1}!>
463
]]
464
465
+-- partial class
466
+
467
+TEST[[
468
+---@class A
469
+---@field x number
470
471
+---@class (partial) B: A
472
473
+---@type B
474
+local t = {}
475
+]]
476
477
478
479
480
481
482
+---@field y number
483
484
485
+local t = <!{}!>
486
487
488
489
490
491
492
493
494
495
496
+local t = {y = 1}
497
498
499
--
0 commit comments