Skip to content

Backports release 1 #577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: release-1
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
with:
version: 1.6
arch: x64
- uses: actions/cache@v1
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
Expand Down
1 change: 1 addition & 0 deletions src/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let filename = joinpath(@__DIR__, "literal_parsing.jl")
if _has_v1_6_hooks
enable_in_core!()
Meta.parse("1 + 2")
Meta.parse(SubString("1 + 2"))
enable_in_core!(false)
end
end
3 changes: 2 additions & 1 deletion src/tokenize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,8 @@ end
function simple_hash(str)
ind = 1
h = UInt64(0)
while ind <= length(str)
L = min(lastindex(str), MAX_KW_LENGTH)
while ind <= L
h = simple_hash(str[ind], h)
ind = nextind(str, ind)
end
Expand Down
Loading