Skip to content

Revert "Add Double and Int Convenience Properties (#239)"#242

Merged
rintaro merged 1 commit intoswiftlang:mainfrom
rintaro:revert-pr238
Oct 13, 2020
Merged

Revert "Add Double and Int Convenience Properties (#239)"#242
rintaro merged 1 commit intoswiftlang:mainfrom
rintaro:revert-pr238

Conversation

@rintaro
Copy link
Copy Markdown
Member

@rintaro rintaro commented Oct 13, 2020

This reverts commit #239
This couldn't handle integer literal syntax more than Int.max e.g. 0x9e3779b97f4a0000

rdar://problem/70227387

This reverts commit 94fc5ae.
This couldn't handle integer literal syntax more than Int.max
e.g. 0x9e3779b97f4a0000
@rintaro
Copy link
Copy Markdown
Member Author

rintaro commented Oct 13, 2020

swiftlang/swift#34292
@swift-ci Please test

@rintaro
Copy link
Copy Markdown
Member Author

rintaro commented Oct 13, 2020

@vermont42 Sorry, I have to revert it for now. This causes an error for valid UInt64 integer literals. like: https://github.com/apple/swift-argument-parser/blob/d424bca0ec66ec0e3888ebdc118379d348a67da3/Examples/roll/SplitMix64.swift#L19-L25

@rintaro rintaro merged commit d518259 into swiftlang:main Oct 13, 2020
@akyrtzi
Copy link
Copy Markdown
Contributor

akyrtzi commented Oct 14, 2020

This causes an error for valid UInt64 integer literals

To be more clear, this was causing a fatalError crash.

adevress pushed a commit to adevress/swift-syntax that referenced this pull request Jan 14, 2024
…read-safe

Make Rule nameCache thread safe
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.

2 participants