Natalia Ukhorskaya
9f3b73986a
Update to IDEA 13.1 (134.1007)
2014-02-17 10:45:48 +04:00
Evgeny Gerashchenko
ae4c68830d
Importing root scope without members.
2014-01-16 22:11:55 +04:00
Evgeny Gerashchenko
958f7c862d
Got rid of "namespace" word in test data.
2014-01-14 18:06:50 +04:00
svtk
b178c79573
analyze function arguments after completion for unresolved and ambiguity cases
2013-11-27 14:26:36 +04:00
Svetlana Isakova
f0bb41ba50
resolve default values for parameters for local functions
...
moved method 'resolveValueParameters'
#KT-3978 In progress
2013-09-13 16:04:17 +04:00
Svetlana Isakova
9347a48df8
restored priorities
...
members with invoke have more priority than extensions
2013-07-05 18:03:51 +04:00
Svetlana Isakova
54e1cf0879
removed incorrect code from resolve tests
...
Resolve tests had a functionality that for primary constructor parameters
class A(val x: Int, y: Int)
`$x` was resolved to property descriptor while `x` was resolved to value parameter descriptor.
But it worked incorrect (see tests changes) and was senseless because 'x' in code always resolves to property descriptor.
So it was dropped.
2013-07-05 18:03:51 +04:00
Svetlana Isakova
041505f5b8
report UNRESOLVED_REFERENCE_WRONG_RECEIVER
...
mentioning candidates with wrong receiver
2013-06-20 13:43:03 +04:00
Svetlana Isakova
342e9ebe7a
KT-3563 Compiler requiring java.io.File, and it's unclear why
...
#KT-3563 fixed
2013-06-20 13:43:02 +04:00
Svetlana Isakova
3cf133bff7
changed local extensions priority
...
local extensions aren't longer chosen before members
2013-06-20 13:43:01 +04:00
Nikolay Krasko
37cd7eb1ba
Allow resolve class declarations in class objects
...
Use INACCESSIBLE_OUTER_CLASS_EXPRESSION error for marking already resolved elements
#KT-3261 Fixed
2013-06-07 17:24:17 +04:00
Svetlana Isakova
4e6ec64d9a
changed resolution candidates order
...
for foo()
first try 'this.foo()', then 'foo()'
2013-06-06 17:20:10 +04:00
Natalia.Ukhorskaya
c58d4fd6d2
Resolve expression in property delegate
2013-04-30 20:08:04 +04:00
Mikhael Bogdanov
029b2d9770
Test fixes for 'New diagnostic error for ambiguous object expression type'
2013-02-19 17:56:56 +04:00
Nikolay Krasko
54e5fa5256
Imports resolution tests
2013-02-04 14:23:26 +04:00
Andrey Breslav
d31e53fa59
EA-41207 - IAE: NameUtils.requireIdentifier
...
Test data files renamed
2013-01-30 12:28:45 +04:00
Alexander Udalov
c4b5577555
Do not report NO_CLASS_OBJECT when namespacesAllowed=true
...
Now with nested classes the expression "A.something" makes sense even when A
doesn't have a class object ("something" could be a nested class)
Also "A" expression now gets a NamespaceType with the scope of all static
nested classes of A
#KT-1174 In Progress
2013-01-16 23:11:50 +04:00
Alexander Udalov
43c37398af
Labeled this & super to nested class' outer is an error
...
#KT-1174 In Progress
2013-01-16 23:11:42 +04:00
Natalia.Ukhorskaya
94fbf2bdf4
Add labels for extension properties
...
#KT-2824 Fixed
2012-11-12 13:23:00 +04:00
Svetlana Isakova
7d37df5f38
tests changes after collections mapping
2012-09-05 18:55:16 +04:00
Nikolay Krasko
78cb5381f7
Remove reference to error type constructor from unresolved annotation
2012-08-30 13:21:13 +04:00
Pavel V. Talanov
84217393f6
KT-304: Resolve supertype reference to class anyway.
...
#KT-304 Fixed
2012-07-25 14:00:02 +04:00
Andrey Breslav
bf503e9a4b
KT-2363 Drop secondary constructors
...
#KT-2363 Fixed
2012-07-19 19:53:06 +04:00
Evgeny Gerashchenko
b0c0173924
Removed test for KT-1666, since navigation to standard libraries is working normally now (instead of navigation to the same source).
2012-05-12 21:56:45 +04:00
Andrey Breslav
45a0873afa
KT-1835 cannot call a Java API which has a method from(String) and from(String...)
...
The problem was in the "more specific" relation, that didn't pay enough attention to varargs.
The correct behavior is in the spirit of JLS 15.12.2 (as of Java 5):
* a fixed-arity function always wins over a variable-arity functions
* if two vararg functions are compared, their parameters are checked for subtyping.
In the latter case, the candidates may have different number of formal parameters, so we
compare the matching parts and then check the rest against the vararg parameter.
#KT-1835 Fixed
2012-04-20 19:10:10 +04:00
Andrey Breslav
0f98c281ab
KT-1781 Can't distinguish between two constructors
...
#KT-1781 Fixed
Now, if foo() and foo(vararg bar) both match the call site, the first one is preferred
2012-04-16 16:14:08 +04:00
Nikolay Krasko
4ec080f71f
KT-1666 Invoking "Go to Declaration" for String type offers two variants - Temp boring fix
...
#KT-1666 fixed
2012-04-08 20:38:11 +04:00
Nikolay Krasko
4d19fd05b1
KT-1702 Renaming file causes "Operation not supported" and invalid imports
...
(Rename problem was caused because of invalid reference to file from package. Fix contains:
- Change structure of references in package expression - last part is also a reference now
- Resolve packages to expression but not to files)
#KT-1702 fixed
2012-04-06 14:46:23 +04:00
Svetlana Isakova
cd6f3139f0
Changed scope for initializer of extension property /*not to resolve things like val List.length = size() */
2012-03-28 13:14:35 +04:00
James Strachan
eb3aac9acb
refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now)
2012-03-03 12:11:06 +00:00
svtk
70d0cd882b
KT-650 Prohibit creating class without constructor
2012-01-24 16:58:29 +04:00
Nikolay Krasko
5613cb90f9
KT-1036 JetFile -> PsiJavaFile cast problem
2012-01-24 15:00:07 +04:00
svtk
7fae503a38
KT-1080 Don't use previously imported packages while resolving import references
2012-01-20 11:58:17 +04:00
Stepan Koltsov
b22ec83b15
split ResolveToJava.jet into smaller test
2011-12-31 00:53:28 +04:00
Andrey Breslav
f45c6171ba
Resolve test data fixed
2011-12-27 14:17:23 +04:00
Andrey Breslav
f52eae71d0
GreatSyntacticShift: 'namespace' -> 'package'
2011-12-25 15:51:59 +04:00
Andrey Breslav
46832aaa5d
GreatSyntacticShift: Resolve test data fixed
2011-12-21 11:08:31 +02:00
Andrey Breslav
fb971ff7cb
Tests moved to appropriate locations
2011-10-21 13:37:14 +04:00
Dmitry Jemerov
ec6dec0d37
separate compiler and plugin tests
2011-10-20 16:21:18 +02:00