Skip to content

Commit

Permalink
Update implicit-global warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Nov 2, 2024
1 parent 7a3062a commit 4aac295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/New Features/Compiler Warnings.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ a = 1
```
file.pluto:3: warning: implicit global creation [implicit-global]
3 | a = 1
| ^^^^^ here: prefix this with 'global' if creating a global was intended
| ^^^^^ here: prefix this with 'global' to be explicit
```

### discarded-return
Expand Down
2 changes: 1 addition & 1 deletion docs/New Features/Explicit Globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ a = 1
```
file.pluto:3: warning: implicit global creation [implicit-global]
3 | a = 1
| ^^^^^ here: prefix this with 'global' if creating a global was intended
| ^^^^^ here: prefix this with 'global' to be explicit
```

0 comments on commit 4aac295

Please sign in to comment.