Files
swift-mirror/test/Migrator/no_double_edit_ast_pass.swift.expected
Ted Kremenek 46510a5eba Bump compiler version to Swift 5.
Main pieces:

- Bump swift-version to 5
- Remove -swift-version 3 support
2018-11-06 14:38:55 -08:00

16 lines
547 B
Plaintext

// REQUIRES: OS=macosx
// REQUIRES: objc_interop
// RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/Inputs/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -o /dev/null
// RUN: diff -u %s.expected %t/no_double_edit_ast_pass.result
import Bar
class Derived : WillOverrideWithTypeChange {
func doThing(_ thing: ItemSet.some) -> ItemSet.some {
return ItemSet.some()
}
}