mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 07:11:04 +01: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
-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