the 'using construct is not .experimental anymore
This commit is contained in:
parent
3ccc9c467d
commit
b2c358be96
2 changed files with 0 additions and 6 deletions
|
|
@ -437,8 +437,6 @@ proc isDiscardUnderscore(v: PSym): bool =
|
|||
proc semUsing(c: PContext; n: PNode): PNode =
|
||||
result = ast.emptyNode
|
||||
if not isTopLevel(c): localError(n.info, errXOnlyAtModuleScope, "using")
|
||||
if not experimentalMode(c):
|
||||
localError(n.info, "use the {.experimental.} pragma to enable 'using'")
|
||||
for i in countup(0, sonsLen(n)-1):
|
||||
var a = n.sons[i]
|
||||
if gCmd == cmdIdeTools: suggestStmt(c, a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue