mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 22:02:45 +01:00
Added EnumKindName() for rtti enums + sample usage to print node kind names during type checking (#1305)
Sample trace output: ``` checking tuple pattern (v1: T1, v2: T2), expecting (T1:! ImplicitAs(U1), T2:! ImplicitAs(U2)) checking binding pattern v1: T1, expecting T1:! ImplicitAs(U1) checking expression pattern T1 checking identifier expression T1 ```
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
// CHECK: ********** source program **********
|
||||
// CHECK: fn Print (format_str: String) {
|
||||
// CHECK: ********** type checking **********
|
||||
// CHECK: checking pattern (format_str: String)
|
||||
// CHECK: checking tuple pattern (format_str: String)
|
||||
// CHECK: ********** type checking complete **********
|
||||
// CHECK: fn Print (format_str: String) {
|
||||
// CHECK: ********** starting execution **********
|
||||
|
||||
Reference in New Issue
Block a user