[SR-13584] Make convenience methods returning an the value of an integer literal as Int and of floating literal as Float return an optional · Issue #405 · swiftlang/swift-syntax · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the PR for SR-11580 merged, there was consensus, based on feedback, that the new convenience methods floatingValue and integerValue, should be optional in order to prevent potential crashes. This story is for implementation of this change. There was additional feedback involving naming and genericity. Depending on PR-review feedback, this story may encompass implementation of these changes as well.
The text was updated successfully, but these errors were encountered:
ahoppen
changed the title
[SR-13584] Implement Additional Feedback on New SwiftSyntax Convenience Methods
[SR-13584] Make convenience methods returning an the value of an integer literal as Int and of floating literal as Float return an optional
Jun 21, 2022
Additional Detail from JIRA
md5: 14ad515b7c276d59a1dd762b567c3a4b
Issue Description:
After the PR for SR-11580 merged, there was consensus, based on feedback, that the new convenience methods
floatingValue
andintegerValue
, should be optional in order to prevent potential crashes. This story is for implementation of this change. There was additional feedback involving naming and genericity. Depending on PR-review feedback, this story may encompass implementation of these changes as well.The text was updated successfully, but these errors were encountered: