refactor(compiler)!: migrate SDK to minimal storage ISA
Replace retired guards and publication opcodes with SDK checks, neutral TRAP and sequential List/Linked mutations with explicit failure phases. Preserve snapshot cursors and import schema 2 metadata with the delivered provider pin. Include common/source/installed conformance, debug and release evidence, synchronized specs and the consolidated lesson. Runtime checkout remains unchanged.
This commit is contained in:
+2
-2
@@ -84,7 +84,7 @@ class PbsGateUSdkInterfaceConformanceTest {
|
||||
var copied=DiagnosticSink.empty();
|
||||
homonym.compileFile(new FileId(201),"""
|
||||
[SdkList] declare struct list<T>(value:T) {}
|
||||
[StoragePrimitive(name="indexGuard")] fn fake(index:long,limit:long) {}
|
||||
[StoragePrimitive(name="fail")] fn fake() {}
|
||||
""",copied,SourceKind.PROJECT);
|
||||
assertTrue(copied.hasErrors(),"Project attributes cannot acquire SDK bindings");
|
||||
}
|
||||
@@ -119,7 +119,7 @@ class PbsGateUSdkInterfaceConformanceTest {
|
||||
var copied=DiagnosticSink.empty();
|
||||
new PbsFrontendCompiler().compileFile(new FileId(203),"""
|
||||
[SdkLinked] declare struct linked<T>(value:T) {}
|
||||
[StoragePrimitive(name="publishFields")] fn fake() {}
|
||||
[StoragePrimitive(name="copy")] fn fake() {}
|
||||
""",copied,SourceKind.PROJECT);
|
||||
assertTrue(copied.hasErrors());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user