feat: lifetime elision, tooling CI, registry, and LSP locals
Ship the QUALITY_PLAN stretch from ownership through ecosystem: C.1 lifetime elision (bootstrap + selfhost), bux fmt/test/doc CI hooks, stdlib goldens, package registry (bux search/add), and LSP 0.4 position-sensitive locals with inferred let types. Full-tree format pass plus Map/Set remove double-free fix.
This commit is contained in:
@@ -31,21 +31,21 @@ func Main() -> int {
|
||||
PrintLine("Box value:");
|
||||
PrintInt(b.Get());
|
||||
PrintLine("");
|
||||
|
||||
|
||||
b.Set(100);
|
||||
PrintLine("Box after Set(100):");
|
||||
PrintInt(b.Get());
|
||||
PrintLine("");
|
||||
|
||||
|
||||
let p: Pair<int, String> = Pair<int, String> { first: 10, second: "hello" };
|
||||
PrintLine("Pair first:");
|
||||
PrintInt(p.GetFirst());
|
||||
PrintLine("");
|
||||
|
||||
|
||||
let bp: *Box<int> = &b;
|
||||
PrintLine("Box via pointer:");
|
||||
PrintInt(bp.Get());
|
||||
PrintLine("");
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user