compiler: Remove Too-Early Instatiation Reference (3)
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -182,16 +182,3 @@ import P4Lang
|
|||||||
|
|
||||||
#expect(#RequireOkResult(SpecialCompilers.ProgramCompiler.Compile(simple)))
|
#expect(#RequireOkResult(SpecialCompilers.ProgramCompiler.Compile(simple)))
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test func test_simple_compiler_with_instantiation() async throws {
|
|
||||||
let simple_instantiation_program = """
|
|
||||||
parser MainParser() {
|
|
||||||
state start {
|
|
||||||
transition accept;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
MainParser() mp;
|
|
||||||
"""
|
|
||||||
#expect(#RequireOkResult(SpecialCompilers.ProgramCompiler.Compile(simple_instantiation_program)))
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user