mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-12 14:48:14 +00:00
Revert "Support for stmtListExpr in parser after major keywords. Scaled down version. (#10852)"
This reverts commit 862897dc0f.
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