Commit Graph

6 Commits

Author SHA1 Message Date
Slava Pestov
38fdb6b7ff Update various tests to not use Swift 3 code
Completely mechanical changes:

- Explicit @objc in a few places
- Some imported APIs changed
- For the mix-and-match tests, just test version 4/5 instead of 3/4
2018-10-26 20:15:01 -04:00
Jordan Rose
237c6bbdf3 [AST] Don't coalesce @available(swift 5) with @available(iOS 5) (#19236)
Doing so was leading to nonsense attribute forms like

  @available(* 5, iOS 5, *)
2018-09-11 09:34:18 -07:00
Robert Widmann
71bf312a25 Migrate the rest of the tests to %empty-directory 2017-06-04 11:08:39 -07:00
David Farler
b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00
Michael Ilseman
12efcc9db6 [Version] Don't allow effective sub-versions, only major versions
Also offer a note when the major version is valid on its own.
2016-10-18 14:43:21 -07:00
Graydon Hoare
168ba39bc7 Add tests for @available(swift N) 2016-10-12 11:21:30 -07:00