Skip to content

Fix some dotop tokenization issues#32

Merged
pfitzseb merged 2 commits intomainfrom
sp/fix-dotop-tokenization
Jun 24, 2022
Merged

Fix some dotop tokenization issues#32
pfitzseb merged 2 commits intomainfrom
sp/fix-dotop-tokenization

Conversation

@pfitzseb
Copy link
Copy Markdown
Member

Fixes #31.

@pfitzseb pfitzseb marked this pull request as draft June 23, 2022 08:20
@pfitzseb pfitzseb force-pushed the sp/fix-dotop-tokenization branch from f850514 to f3ecbbe Compare June 23, 2022 09:20
@pfitzseb pfitzseb force-pushed the sp/fix-dotop-tokenization branch from f3ecbbe to 52f7546 Compare June 23, 2022 09:25
@pfitzseb pfitzseb marked this pull request as ready for review June 23, 2022 09:27
@pfitzseb pfitzseb requested a review from c42f June 23, 2022 09:31
Copy link
Copy Markdown
Member

@c42f c42f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks very much :-)

I streamlined the tests a bit. Let's merge, provided CI likes it.

I also thought about adding the token kind to the tests, as is done in some other places. But that made the tests much more verbose and hard to understand, so I left it out out in the end.

Comment thread Tokenize/test/lexer.jl Outdated
end

@testset "dotop miscellanea" begin
broken_ops = [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, not all of these are broken :-)

@pfitzseb pfitzseb merged commit 47ba19b into main Jun 24, 2022
@pfitzseb pfitzseb deleted the sp/fix-dotop-tokenization branch June 24, 2022 08:11
c42f pushed a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
…dotop-tokenization

Fix some dotop tokenization issues
topolarity pushed a commit to JuliaLang/julia that referenced this pull request Nov 14, 2025
…dotop-tokenization

Fix some dotop tokenization issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some tokenize issues

2 participants