Allow Declaring Instances of Structs

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-03-20 04:25:36 -04:00
parent f0d816b99f
commit aac007f1f2
7 changed files with 178 additions and 58 deletions
+1 -1
View File
@@ -33,5 +33,5 @@ public protocol CompilableValue {
}
public protocol CompilableType {
static func CompileType(type: String) -> Result<P4Type?>
static func CompileType(type: SwiftTreeSitter.Node, withContext: CompilerContext) -> Result<P4Type?>
}