zls
zls copied to clipboard
no decl literal completion in block break
Zig Version
0.14.0-dev.2987+183bb8b08
ZLS Version
0.14.0-dev.366+d3d11a0
Client / Code Editor / Extensions
vscode
Steps to Reproduce and Observed Behavior
const S = struct {
a: u32,
fn init() S {
return .{
.a = 23,
};
}
};
test {
const x: S = blk: {
break :blk .<cursor>
};
}
Expected Behavior
shows .a and .init()
Relevant log output