julia
Fix error message when using `const` inside a function, require the LHS to be global, and prohibit "const x[] = 1"
#57470
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
4
Changes
View On
GitHub
Fix error message when using `const` inside a function, require the LHS to be global, and prohibit "const x[] = 1"
#57470
vtjnash
merged 4 commits into
JuliaLang:master
from
xal-0:const-function-errors
xal-0
force pushed
from
0f5a7aa2
to
5a09ce3b
341 days ago
vtjnash
approved these changes on 2025-02-19
xal-0
added
compiler:lowering
xal-0
added
bugfix
xal-0
added
error messages
xal-0
marked this pull request as draft
339 days ago
xal-0
force pushed
from
33184ba5
to
b45c8e06
339 days ago
xal-0
force pushed
from
b45c8e06
to
a4f7d000
336 days ago
xal-0
force pushed
from
a4f7d000
to
ce76dbf0
336 days ago
vtjnash
added
don't squash
mlechu
commented on 2025-03-05
xal-0
force pushed
from
ce76dbf0
to
14c14f12
318 days ago
xal-0
force pushed
from
14c14f12
to
cbce6cd8
314 days ago
Add tests for #57334, #57470
378373e1
Factor out expand-table '= lambda into expand-assignment
6043569f
const lowering: respect scope, prohibit non-const `const` assignment
9a437a52
const lowering: resolve scopes under assign-const-if-global
64672f5e
xal-0
force pushed
from
cbce6cd8
to
64672f5e
314 days ago
xal-0
marked this pull request as ready for review
314 days ago
xal-0
requested a review
from
vtjnash
314 days ago
vtjnash
commented on 2025-03-20
vtjnash
merged
fb01f915
into master
312 days ago
KristofferC
added
backport 1.12
KristofferC
removed
backport 1.12
Login to write a write a comment.
Login via GitHub
Reviewers
vtjnash
mlechu
Assignees
No one assigned
Labels
compiler:lowering
bugfix
error messages
don't squash
Milestone
No milestone
Login to write a write a comment.
Login via GitHub