Walter Bright <> changed:

           What    |Removed                     |Added
           Keywords|                            |spec
                 CC|                            |

--- Comment #5 from Peter Alexander <> 2012-01-21 
03:51:22 PST ---
(In reply to comment #3)
> I'm not quite sure how the language spec would be updated though. I don't know
> how you could have interpreted it to mean that you could put them after the
> line where you used what you're importing within a function. I would have
> thought that it was crystal clear as it is.

Well, it can't be crystal clear because you were unaware that you could put
imports at module scope after the use of the imported symbols :-)

One way would be to add a statement to the effect of:

"At module scope, import declarations may appear after the use of imported
symbols. However, in local scopes, import declarations must appear before the
use of any symbols introduced by the import."

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to