Doug Gregor
098470ddb7
Update tests for the removal of the strange "Any" preference rule
2019-03-06 08:58:56 -08:00
Mark Lacey
c0007f8168
Revert "[ConstraintSystem] Fix the ordering of functions with optional parame…"
2018-07-19 00:21:12 -07:00
Mark Lacey
d271f4b057
[ConstraintSystem] Ensure we prefer f(_: Any) to f(_: Any?) when both work.
...
...unless the argument is an `Any?`, in which case we prefer `f(_: Any?)`.
This change also results in our selecting f<T>(_: T) over f(_:
Any). Coercing with 'as Any' makes it possible to explicitly select
the Any overload. Previously there was no way to select the generic
overload.
2018-07-18 11:44:04 -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
Dmitri Gribenko
05397e3fb5
Fix validation-test/Sema/OverridesAndOverloads.swift after compiler started produced more warnings
2016-05-17 01:26:45 -07:00
Slava Pestov
49c54870c1
Serialization: Auto-linking recursively walks modules imported from -sil-serialize-all modules
2016-04-01 12:21:36 -07:00
Dmitri Gribenko
63c11c2e79
Fix the test for the case when StdlibUnittest is built with -sil-serialize-all
2016-02-15 11:02:24 -08:00
Dmitri Gribenko
f93ca42345
Add a basic execution tests for method overrides and overloads
2016-02-14 23:36:16 -08:00