true and false support, and lowering for bool type. (#2896)

This commit is contained in:
Richard Smith authored and GitHub committed 2023-06-13 16:43:03 -07:00
1 parent 8e940d9724
commit aa40e2b8a9
15 files changed
+198 -5

No files matched your search

@@ -14,7 +14,7 @@
// CHECK:STDOUT: {kind: 'Literal', text: 'i32'},
// CHECK:STDOUT: {kind: 'PatternBinding', text: ':', subtree_size: 3},
// CHECK:STDOUT: {kind: 'VariableInitializer', text: '='},
// CHECK:STDOUT: {kind: 'NameReference', text: 'true'},
// CHECK:STDOUT: {kind: 'Literal', text: 'true'},
// CHECK:STDOUT: {kind: 'IfExpressionIf', text: 'if', subtree_size: 2},
// CHECK:STDOUT: {kind: 'Literal', text: '1'},
// CHECK:STDOUT: {kind: 'IfExpressionThen', text: 'then', subtree_size: 2},