mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
First pass at docs for modules.
This commit is contained in:
@ -28,7 +28,7 @@ same name in the same scope. So if you do:
|
||||
Wren tells you:
|
||||
|
||||
:::text
|
||||
[script.wren line 2] Error on 'a': Global variable is already defined.
|
||||
[script.wren line 2] Error on 'a': Top-level variable is already defined.
|
||||
|
||||
Note that it does this before it executes *any* code. Unlike some other
|
||||
scripting languages, Wren tries to help you find your errors as soon as
|
||||
|
||||
Reference in New Issue
Block a user