Alexander Udalov
a7b88e9485
Make CharSequence.length a function instead of property
...
And String.length as well.
This is done for JVM interoperability: java.lang.CharSequence is an open class
and has a function 'length()' which should be implemented in subclasses
somehow.
A minor unexpected effect of this is that String.length() is now a compile-time
constant (it wasn't such as a property because properties are not supported in
compile-time constant evaluation)
#KT-3571 Fixed
2014-11-27 20:38:17 +03:00
Andrey Breslav
70db76b219
Typo fixed in a diagnostic message
2014-10-29 18:43:48 +03:00
Alexander Udalov
ae401cac0f
Prohibit type parameters for enum classes
...
#KT-5696 Fixed
2014-10-21 00:16:07 +04:00
Andrey Breslav
391b57077b
KT-5976 Parser recovery is poor on object with parameters
...
#KT-5976 Fixed
2014-10-15 12:22:35 +04:00
Pavel V. Talanov
c04b52561e
"abstract" modifier on enum class is an error
...
#KT-3454 Fixed
2014-10-10 17:43:32 +04:00
Nikolay Krasko
e85b36cdff
Store resolution context for light classes to prevent back-end fail
2014-10-09 02:28:41 +04:00
Svetlana Isakova
91b0ad2023
Removed 'implicit this' from scope for member lookup
2014-09-07 01:03:59 +04:00
Svetlana Isakova
7f33ad90a6
Report 'nested class accessed via instance reference' error
2014-09-01 12:32:50 +04:00
Alexey Sedunov
9cbcabffa4
Control-Flow Analysis: Reuse pseudo-value information for unused expression analysis
2014-07-28 13:07:37 +04:00
Andrey Breslav
f72dcb8ee2
Fix for EA-53605 - UOE: PackageType.throwException
2014-05-19 17:02:18 +04:00
Andrey Breslav
feece3c326
Temporarily disabling a blinking test
2014-04-18 21:28:24 +04:00
Svetlana Isakova
791fa22abb
KT-4405 Control-flow analysis is not performed for some local declarations #KT-4405 Fixed
2014-02-12 12:48:13 +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
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
2abe2e581d
AbstractStringBuilder, StringBuilder and java.io.File annotated with nullable/notnull
2012-09-20 18:12:57 +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
255b65c667
KT-2363 Drop secondary constructors
...
Test data updated
2012-07-19 21:01:33 +04:00
Alexander Udalov
38fc57ae42
Pass DataFlowInfo through when-conditions
2012-06-21 22:38:11 +04:00
Svetlana Isakova
0fd882741b
function invocation with only type parameters prohibited
2012-05-23 22:04:22 +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
5520e1a2b0
'AbstractStringBuilder' has package private, so cannot be used in tests
2012-04-04 19:02:26 +04:00
Svetlana Isakova
a91a53f7f1
KT-1531 Frontend should prohibit secondary constructors
...
# KT-1531 Fixed
2012-03-27 17:48:04 +04:00
svtk
70d0cd882b
KT-650 Prohibit creating class without constructor
2012-01-24 16:58:29 +04:00
svtk
7fae503a38
KT-1080 Don't use previously imported packages while resolving import references
2012-01-20 11:58:17 +04:00
svtk
390eb0cde3
forbid import of functions and properties from objects
2012-01-12 18:39:25 +04:00
Nikolay Krasko
0573efa6fb
KT-960 import namespace should give unresolved reference
2012-01-11 13:55:20 +04:00
Andrey Breslav
2d78ccb9e1
Annotator test data fixed
2011-12-27 14:54:41 +04:00
Andrey Breslav
f52eae71d0
GreatSyntacticShift: 'namespace' -> 'package'
2011-12-25 15:51:59 +04:00
Andrey Breslav
889c7c0002
GreatSyntacticShift: erroneous fix reverted
2011-12-21 11:48:24 +02:00
Andrey Breslav
f67c6549eb
GreatSyntacticShift: Codegen testdata fixed
2011-12-21 11:45:50 +02:00
Andrey Breslav
3808bff1ce
GreatSyntacticShift: Checker test data fixed
2011-12-21 11:24:04 +02:00
svtk
63d74d41af
KT-328 completion //Local function in function literals cause exceptions
2011-12-09 17:37:38 +04:00
svtk
ba49f508c9
KT-609 Analyze not only local variables, but function parameters as well in 'unused values' analysis
2011-11-29 19:04:15 +04:00
svtk
a7bb30a18c
"Unused value" error added to existed tests
2011-11-24 15:59:44 +04:00
svtk
44ae29b01d
Merge branch 'master' of ssh://git.labs.intellij.net/jet
2011-10-28 13:44:39 +04:00
Dmitry Jemerov
a3f8a088be
JetPsiCheckerTest and its testdata moved back to plugin tests
2011-10-27 18:44:39 +02:00
Dmitry Jemerov
ec6dec0d37
separate compiler and plugin tests
2011-10-20 16:21:18 +02:00
svtk
50418698db
Changes after forbidding modality modifiers in accessors
2011-10-03 17:47:26 +04:00
svtk
10f16627ef
Added error 'abstract accessor of non abstract property'
2011-09-29 15:40:55 +04:00
Andrey Breslav
1c299fe536
Deferred types are computed at the end of the top-down analysis
2011-09-28 14:19:51 +04:00
Andrey Breslav
350a77cab5
Coercion to Unit fixed
2011-09-15 14:31:02 +04:00
Andrey Breslav
bacd514919
Merge remote branch 'origin/master'
2011-09-13 17:17:52 +04:00
Andrey Breslav
910ba57f8a
KT-303 Stack overflow on a cyclic class hierarchy
2011-09-13 17:17:45 +04:00
svtk
74cbb69fd0
KT-251 fixed
2011-09-13 15:38:12 +04:00
svtk
4071d67c41
Added static checks for properties in traits; more tests for 'abstract'
2011-09-12 16:01:48 +04:00
Andrey Breslav
16dcbd41cb
"trait" instead of "trait class"
...
virtual -> open
"final" introduced
"wraps" dropped
2011-09-09 16:16:05 +04:00
svtk
c798503c81
Added 'override' checks
2011-09-09 11:51:10 +04:00