Denis Vnukov
152df92966
[CodeCompletion] Code Completion String getName should always return non-empty string value for
...
valid code completions. Code completion tests call and validate getName’s result.
A minor fix for code completion fro subscripts.
Swift SVN r25101
2015-02-09 22:32:05 +00:00
Dmitri Hrybenko
3b04d1b013
tests: reorganize tests so that they actually use the target platform
...
Most tests were using %swift or similar substitutions, which did not
include the target triple and SDK. The driver was defaulting to the
host OS. Thus, we could not run the tests when the standard library was
not built for OS X.
Swift SVN r24504
2015-01-19 06:52:49 +00:00
Chris Lattner
440e38f66f
fix <rdar://problem/19135222> swift reserves 'new' keyword and doesn't use it
...
by removing the old fixit code for migrating code away from the obsolete 'new' syntax
for allocating arrays.
Swift SVN r23664
2014-12-03 23:16:45 +00:00
Argyrios Kyrtzidis
d37855e5c5
[IDE] Fix crash when code-completing inside a closure initializer of a member.
...
rdar://18246941
Swift SVN r21809
2014-09-09 19:29:19 +00:00
Dmitri Hrybenko
b0c3a56c96
Code completion: fix some type checking issues of closures
...
Completely disable the AST transformation for single-expression closures. When
this transformation picks up an incomplete expression, the resulting AST is
almost guaranteed to have type mismatches, and the type checker just marks
everything with error types.
rdar://17193319 rdar://17086137
Swift SVN r20153
2014-07-18 14:49:34 +00:00
Dmitri Hrybenko
8234c70f88
Code completion: fix delayed parsing of closures
...
The delayed parsing was in place, but the expressions were being thrown away by
"recovery" in the parser.
rdar://16274593
Swift SVN r20151
2014-07-18 11:43:38 +00:00
Ben Langmuir
5223a6342e
Add another xfail'd test for code-completion in property closures
...
Lazy properties can be weird, so give them their own closure completion
test.
Swift SVN r20093
2014-07-17 16:08:28 +00:00
Ted Kremenek
fad874708e
Adjust test cases.
...
Swift SVN r17964
2014-05-12 22:01:52 +00:00
Dmitri Hrybenko
724a93885c
Code completion tests: move tests for completion inside closures into a
...
separate file
Swift SVN r7891
2013-09-04 02:03:35 +00:00