Skip to content

Commit 4aac295

Browse files
committed
Update implicit-global warning message
1 parent 7a3062a commit 4aac295

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/New Features/Compiler Warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ a = 1
188188
```
189189
file.pluto:3: warning: implicit global creation [implicit-global]
190190
3 | a = 1
191-
| ^^^^^ here: prefix this with 'global' if creating a global was intended
191+
| ^^^^^ here: prefix this with 'global' to be explicit
192192
```
193193

194194
### discarded-return

docs/New Features/Explicit Globals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ a = 1
3131
```
3232
file.pluto:3: warning: implicit global creation [implicit-global]
3333
3 | a = 1
34-
| ^^^^^ here: prefix this with 'global' if creating a global was intended
34+
| ^^^^^ here: prefix this with 'global' to be explicit
3535
```

0 commit comments

Comments
 (0)