Skip to content

Commit 0299224

Browse files
authored
Merge pull request #1383 from herbie-fp/fix-main
Fix `main` syntax errors
2 parents 328fe44 + 67aca1f commit 0299224

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/syntax/platform-language.rkt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
[(? number?) 'real]
4545
[(? symbol?)
4646
#:when (assq expr env)
47-
=>
48-
cdr]
47+
(cdr (assq expr env))]
4948
[(? symbol?) (bad! "unbound variable `~a`" expr)]
5049
[`(if ,cond ,ift ,iff)
5150
(define cond-ty (type-of cond))

0 commit comments

Comments
 (0)