mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-27 17:53:58 +00:00
revert parser stmtListExpr (#11007)
* Revert "Support for stmtListExpr in parser after major keywords. Scaled down version. (#10852)" This reverts commit862897dc0f. * redo fix for #4035 * render stmtlistExpr using semicolon * Revert "render stmtlistExpr using semicolon" This reverts commitcafb78b8d5. * revert test
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
discard """
|
||||
output: '''10'''
|
||||
"""
|
||||
|
||||
proc xx(a: int): int =
|
||||
let y = 0
|
||||
return
|
||||
var x = 0
|
||||
x + y
|
||||
|
||||
proc b(x: int): int =
|
||||
raise
|
||||
var e: ref Exception
|
||||
new(e)
|
||||
e.msg = "My Exception msg"
|
||||
e
|
||||
|
||||
##issue 4035
|
||||
echo(5 +
|
||||
5)
|
||||
Reference in New Issue
Block a user