-
Notifications
You must be signed in to change notification settings - Fork 330
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
[lldb] Update Measurement data formatter #9127
[lldb] Update Measurement data formatter #9127
Conversation
View the diff with whitespace ignored for a distilled look at the changes (basically a new else branch added) https://github.com/swiftlang/llvm-project/pull/9127/files?w=1 |
@swift-ci test |
1 similar comment
@swift-ci test |
@@ -13,8 +13,8 @@ import Foundation | |||
|
|||
func main() { | |||
var measurement = Measurement(value: 1.25, unit: Unit(symbol: "m")) | |||
//% self.runCmd("settings set symbols.swift-enable-ast-context false") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment explaining why this is here?
Ideally, we would convert this into a non-inline test and run the test with and without the setting, otherwise we're losing the typeref <-> SwiftAST validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call, done.
b162992
to
5e21b98
Compare
@swift-ci test |
@swift-ci test |
@swift-ci test windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
...test/API/lang/swift/foundation_value_types/measurement/TestSwiftFoundationTypeMeasurement.py
Outdated
Show resolved
Hide resolved
rdar://121940851 (cherry picked from commit c45216d)
rdar://121940851