mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:14:42 +01:00
turn off tracing by default, change golden (#381)
* turn off tracing by default, change golden * Update executable_semantics/main.cpp Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com> * Update executable_semantics/main.cpp Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com> * merge with trunk, update goldens Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
co-authored by
Jon Meow
parent
ced98ef021
commit
7c4fcd3fa5
@@ -1,26 +1,2 @@
|
||||
********** source program **********
|
||||
var Int : x = y
|
||||
var Int : y = 0
|
||||
fn main () -> Int {
|
||||
return x;
|
||||
|
||||
}
|
||||
********** type checking **********
|
||||
--- step exp Int --->
|
||||
--- step exp Int --->
|
||||
--- step exp Int --->
|
||||
--- step exp Int --->
|
||||
--- step exp Int --->
|
||||
--- step exp Int --->
|
||||
|
||||
********** type checking complete **********
|
||||
var Int : x = y
|
||||
var Int : y = 0
|
||||
fn main () -> Int {
|
||||
return x;
|
||||
}
|
||||
********** starting execution **********
|
||||
********** initializing globals **********
|
||||
--- step exp y --->
|
||||
8: could not find `y`
|
||||
EXIT CODE: 255
|
||||
|
||||
Reference in New Issue
Block a user