new language feature: explicit 'import system' statements are allowed

This commit is contained in:
Andreas Rumpf
2016-07-07 01:02:12 +02:00
parent 28940ce457
commit e9eab32e54
5 changed files with 37 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
##.
import system except `+`
discard """
errormsg: "undeclared identifier: '+'"
line: 9
"""
# Testament requires that the initial """ occurs before the 40th byte
# in the file. No kidding...
echo 4+5