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:
@@ -39,7 +39,7 @@ func ComputeWithError() -> Result {
|
||||
|
||||
func Main() -> int {
|
||||
PrintLine("Try operator demo:");
|
||||
|
||||
|
||||
let r1: Result = Compute();
|
||||
if r1.tag == Result_Ok {
|
||||
PrintLine("Compute() = ");
|
||||
@@ -48,11 +48,11 @@ func Main() -> int {
|
||||
} else {
|
||||
PrintLine("Compute() failed");
|
||||
}
|
||||
|
||||
|
||||
let r2: Result = ComputeWithError();
|
||||
if r2.tag == Result_Err {
|
||||
PrintLine("ComputeWithError() failed as expected");
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user