Evgeny Gerashchenko
f53af70ad6
Added separate highlighting keys for variables invoked as function and function-like.
2013-04-04 17:33:58 +04:00
Nikolay Krasko
e94843b7b3
JS checker tests
2013-04-03 18:18:03 +04:00
Mikhael Bogdanov
029b2d9770
Test fixes for 'New diagnostic error for ambiguous object expression type'
2013-02-19 17:56:56 +04:00
Evgeny Gerashchenko
b9e5704057
Updated test data and stdlib sources.
2013-02-13 18:08:37 +04:00
Andrey Breslav
3e0ead494e
Infinite recursion prevented on cyclic class hierarchies
2013-02-11 22:19:43 +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
Evgeny Gerashchenko
6574eca393
Fixed test after introducing new warning.
2013-01-16 15:58:02 +04:00
Evgeny Gerashchenko
bbab0eebae
Highlighting variable called as function.
2013-01-15 19:41:41 +04:00
Svetlana Isakova
58de1cabbc
update tests according to package properties check
2012-12-18 19:47:54 +04:00
Andrey Breslav
c849a0c4e3
Redundant/conflicting projections
2012-11-24 15:59:16 +04:00
Svetlana Isakova
d0a6f6252d
fixed: DEBUG_INFO_ERROR_ELEMENT should be visible in tests
2012-11-20 19:53:03 +04:00
Evgeny Gerashchenko
799a986812
Renamed *.jet to *.kt in test data of JetPsiCheckerTest.
2012-11-12 19:54:22 +04:00
Andrey Breslav
b5385788a3
Don't generate UNNECESSARY_SAFE_CALL on variables of generic type <T: Any?>
2012-10-25 17:05:28 +04:00
Andrey Breslav
80039d8533
A warning for redundant '?' in types
2012-10-19 19:24:14 +04:00
Svetlana Isakova
e7cbff14ef
mark last parenthesis instead of value argument list
2012-10-16 20:14:52 +04:00
Svetlana Isakova
0d4d576fed
fixed exception in renderer for type inference error
2012-10-16 17:28:24 +04:00
Andrey Breslav
2abe2e581d
AbstractStringBuilder, StringBuilder and java.io.File annotated with nullable/notnull
2012-09-20 18:12:57 +04:00
Andrey Breslav
5eaa5b396b
Removing usages of tuples from test data
...
(KT-2358 Drop tuples)
#KT-2358 In progress
2012-09-18 20:27:09 +04:00
Evgeny Gerashchenko
2f89352d80
Added AUTOCAST mark when expression is used as for-loop iterable.
2012-09-14 16:12:16 +04:00
Svetlana Isakova
7d37df5f38
tests changes after collections mapping
2012-09-05 18:55:16 +04:00
Svetlana Isakova
31831f2433
added 'class has Kotlin analog' error
...
to existing diagnostic tests
2012-09-05 18:55:16 +04:00
Andrey Breslav
a267f65fa1
Front-end test data fixed to have no complex patterns
...
#KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Nikolay Krasko
d4564a41e3
EA-38865 Fail for convention functions names
2012-09-04 22:56:12 +04:00
Andrey Breslav
7caa1b8aa4
KT-2364 Drop traces of constructor-entries in enums
...
#KT-2364 Fixed
2012-08-29 22:07:42 +04:00
Svetlana Isakova
f8edaad420
make modality 'FINAL' for non-class members
...
not depend on actual modifier since it's not legal there
2012-08-22 20:42:35 +04:00
Svetlana Isakova
f817eba7aa
removed check for 'hasNext' val in frontend
2012-08-20 16:05:16 +04:00
Svetlana Isakova
f3dce9a723
error place changed
2012-07-20 19:45:59 +04:00
Andrey Breslav
255b65c667
KT-2363 Drop secondary constructors
...
Test data updated
2012-07-19 21:01:33 +04:00
Alexander Udalov
b2defb2cb4
KT-2317 Wrong UNNECESSARY_SAFE_CALL
...
#KT-2317 Fixed
2012-07-04 15:39:58 +04:00
Alexander Udalov
38fc57ae42
Pass DataFlowInfo through when-conditions
2012-06-21 22:38:11 +04:00
Alexander Udalov
d67e22b174
KT-2223 Comparing non-null value with null might produce helpful warning
...
#KT-2223 Fixed
2012-06-20 20:33:58 +04:00
Svetlana Isakova
b6b1ce52e1
tests changed:
...
added check for unused/uninitialized variables inside local and anonymous functions
2012-05-28 12:06:13 +04:00
Nikolay Krasko
e946a0f908
- Out of block modification strategy for Kotlin block expression
...
- Separate project analysis for IDEA needs: headers + bodies
2012-05-27 17:39:56 +04:00
Svetlana Isakova
0fd882741b
function invocation with only type parameters prohibited
2012-05-23 22:04:22 +04:00
Svetlana Isakova
b63d3905f9
KT-1256 Error highlighting in IDE should be less annoying
...
#KT-1256 fixed
2012-05-22 18:23:51 +04:00
Stepan Koltsov
8c8ed3a1ee
KT-1388 Parse static final fields from java binary classes as non-null
...
#KT-1388 Fixed
2012-05-13 00:53:37 +04:00
Svetlana Isakova
d4b816ef56
KT-1743 Analyze immutable local variables and parameters which are captured in closure
...
#KT-1743 fixed
2012-05-03 17:56:45 +04:00
Andrey Breslav
3ee8c5e469
A warning added: parameter names disagree upon override
...
This should be an error, but there is an issue with Java interop: Java parameters may change names or not have them.
2012-04-27 21:33:48 +04:00
Evgeny Gerashchenko
1123a4f438
Clarified error message for TYPE_MISMATCH_IN_BINDING_PATTERN.
2012-04-19 15:21:59 +04:00
Evgeny Gerashchenko
6a13510741
Replaced Diagnostic.getMessage() with DiagnosticRenderer.render() calls.
...
Made Diagnostic.getMessage() deprecated, introduced DiagnosticRender interface and default implementation for it.
2012-04-13 19:31:45 +04:00
Evgeny Gerashchenko
6b2e90126d
Fixed highlighting for safe access dot.
2012-04-11 15:53:57 +04:00
Evgeny Gerashchenko
05fd46009d
Replaced diagnostic factories so they show type FQ names instead of short names.
...
#KT-1137 fixed
2012-04-08 22:45:07 +04:00
Svetlana Isakova
5520e1a2b0
'AbstractStringBuilder' has package private, so cannot be used in tests
2012-04-04 19:02:26 +04:00
Evgeny Gerashchenko
c989b2e5ba
Updated "Autocasts" test data in JetPsiCheckerTest. Replaced types with their FQ names.
2012-04-04 16:14:00 +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
Svetlana Isakova
a91a53f7f1
KT-1531 Frontend should prohibit secondary constructors
...
# KT-1531 Fixed
2012-03-27 17:48:04 +04:00
Svetlana Isakova
f7cfb36f62
# KT-1579 Fixed Can't import nested class/trait
2012-03-27 16:20:59 +04:00
Svetlana Isakova
9dc9e9984b
KT-1572 Frontend doesn't mark all vars included in closure as refs.
2012-03-14 15:07:33 +04:00
Svetlana Isakova
c857785910
KT-1002 If there's no return in function highlight only last token but not last statement
2012-03-09 12:20:10 +04:00