grammar,compiler: Add Support For Fixed-Width Integers
Distinguishing between signed and unsigned fixed-width integer types must still be done. Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -45,5 +45,5 @@ struct StringConvertible: CustomStringConvertible {
|
||||
|
||||
@Test func test_result_type_p4value_convertible() async throws {
|
||||
let result = Result.Ok(P4Value(P4IntValue(withValue: 5)))
|
||||
#expect("\(result)" == "Ok: Value: 5 of Int type of type Int")
|
||||
#expect("\(result)" == "Ok: Value: 5 of Int (width: Infinite) type of type Int (width: Infinite)")
|
||||
}
|
||||
Reference in New Issue
Block a user