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:
Dave Abrahams authored and GitHub committed 2021-03-05 15:00:44 -08:00
1 parent 62ff5597e4
commit 2f83c4be48
3 files changed
+32 -8

No files matched your search

+1 -3
View File
@@ -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