mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 11:30:36 +00:00
Separate parsing from type-checking and evaluation. (#345)
This change caused the syntax error in undef2.6c ("fun" instead of "fn") to be
detected as one would expect, thus the changed golden file.
This commit is contained in:
1 parent
62ff5597e4
commit
2f83c4be48
3 files changed
+32
-8
No files matched your search
+1
-3
@@ -1,4 +1,2 @@
|
||||
********** source program **********
|
||||
********** type checking **********
|
||||
error, program must contain a function named `main`
|
||||
executable_semantics/testdata/undef2.6c:7: syntax error
|
||||
EXIT CODE: 255
|
||||
Reference in new issue
Block a user