We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
swift-syntax:
0.40200.0
swiftc:
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1) Target: x86_64-apple-darwin18.2.0
Xcode:
10.1, Build version 10B61
macOS:
10.14.1
md5: 12e54c370c6a569e89cec387a15cfe5e
Issue Description:
Given the following code:
class MyFunc { init(param: String) {} }
The position of `initKeyword` returns the incorrect values:
(lldb) po syntax.initKeyword.position ▿ AbsolutePosition - utf8Offset : 14 - line : 1 - column : 15
Expected values are:
line: 2
column: 5
offset: 19
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
swift-syntax:
0.40200.0
swiftc:
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
Target: x86_64-apple-darwin18.2.0
Xcode:
10.1, Build version 10B61
macOS:
10.14.1
Additional Detail from JIRA
md5: 12e54c370c6a569e89cec387a15cfe5e
Issue Description:
Given the following code:
The position of `initKeyword` returns the incorrect values:
Expected values are:
line: 2
column: 5
offset: 19
The text was updated successfully, but these errors were encountered: