Dmitry Jemerov
de3f5d0e2d
avoid coercing 'this' to a supertype; cleaner handling of stackvalues for 'this' and 'super' (KT-2395)
2012-07-11 16:59:01 +02:00
Alexander Udalov
2d6b8abbe1
fix java.lang.Number type mapping to jet.Number (KT-2376)
2012-07-11 16:37:48 +04:00
Alexander Udalov
5cc043314d
KT-2376 java.lang.Number should be visible in Kotlin as jet.Number
...
#KT-2376 Fixed
2012-07-11 14:31:10 +04:00
Alex Tkachman
8012725d38
KT-2060 fix
2012-07-11 13:10:54 +03:00
Dmitry Jemerov
1fe9c291f1
ugly and incomplete solution for using correct bytecode instruction when accessing properties inherited from traits (KT-2391)
2012-07-10 21:21:16 +02:00
Andrey Breslav
d0e40abc09
Lazy resolve: Full standard library is properly loaded
2012-07-10 22:49:18 +04:00
Andrey Breslav
3266c2bdde
Lazy resolve: Proper scope when inferring types of member properties
2012-07-10 22:48:49 +04:00
Andrey Breslav
33dfd5bb6b
Lazy resolve: Package-level objects are handled properly
2012-07-10 22:48:49 +04:00
Dmitry Jemerov
57c1b05684
generate correct cast for arguments of bridge methods (KT-2390)
2012-07-10 19:59:33 +02:00
Andrey Breslav
3d8d92c7d3
JetDiagnosticsTest migrated to TestGenerator
...
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00
Alexander Udalov
a07954eaac
load 'this' instead of $classobj if we're inside class object's constructor
...
#KT-2384 Fixed
2012-07-09 22:16:19 +04:00
Alexander Udalov
06f2cbc891
object literals now capture expressions from 'by' delegate specifier
...
#KT-2224 Fixed
2012-07-09 14:51:10 +04:00
Andrey Breslav
9f0f6f862a
Fixing modality in fake overrides
...
The modality was nondeterministic before.
The main change sits in OverrideResolver: the logic of "fake override" generation is restructured so that
all the descriptors a newly created "fake" one overrides are known by the time it is created, so its
modality can be determined properly from their modalities.
Also, the ReadJavaBinaryClassTestGenerated is now a clear JUnit3 test case
2012-07-09 13:39:05 +04:00
Andrey Breslav
54ea8f1d00
Fixing test data after ordering in NamespaceComparator was fixed
2012-07-09 13:39:05 +04:00
Evgeny Gerashchenko
040d2f8945
Changed "jdk headers" to "jdk annotations" in test and test data directories names.
2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko
03f4ef4a09
Fixed expected output for CliTest.help.
2012-07-07 23:07:20 +04:00
Alex Tkachman
b989c701e9
patch from audalov for KT-1959
2012-07-05 15:49:24 +03:00
Alexander Udalov
b2defb2cb4
KT-2317 Wrong UNNECESSARY_SAFE_CALL
...
#KT-2317 Fixed
2012-07-04 15:39:58 +04:00
Evgeny Gerashchenko
a8aee841c9
Temporarily added external annotations for ArrayList.clone() method and updated test data. Alternative signature annotations should be parsed for overridden methods, too.
2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko
77df57c150
Replaced jdk-headers with jdk-annotations everywhere.
2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko
206628da82
Added -annotations command-line parameter.
2012-07-03 13:35:52 +04:00
Pavel V. Talanov
187c90ed3b
Update for the previous fix for class object's visibility.
2012-07-02 17:29:06 +04:00
Pavel V. Talanov
2975cda4d6
Fix a bug which caused class object's visibility to be ignored
2012-07-02 17:29:04 +04:00
Stepan Koltsov
cd1211fcb3
repl: multiline
2012-06-28 19:38:44 +04:00
Andrey Breslav
8611814bf4
Test data fixed
2012-06-26 23:25:52 +02:00
Andrey Breslav
0c910dba8b
Supporting (predefined) classifier aliases in Lazy Resolve
2012-06-26 23:23:06 +02:00
Andrey Breslav
ceafb5ddaf
Using a function type in a supertype list removed from the test
2012-06-26 23:13:54 +02:00
Andrey Breslav
ac06825f08
jet.Any: modality and constructor straightened
2012-06-26 23:13:53 +02:00
Evgeny Gerashchenko
ee1f1f3d56
Added check for extra and missing upper bounds in alternative signatures.
2012-06-27 00:44:14 +04:00
Evgeny Gerashchenko
2840f6d3ba
Added checking for function name in alternative signature.
2012-06-27 00:44:10 +04:00
Evgeny Gerashchenko
d897ba754d
Added checking for missing return type in alternative signature.
2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko
f0857d0081
Added checking type parameters count in alternative signatures.
2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko
d9127fc34b
Added prohibiting adding of nullability in alternative signatures.
2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko
a02ab2b348
Added checking for same variance in alternative signatures.
2012-06-27 00:44:08 +04:00
Evgeny Gerashchenko
178a10716b
Added checking vararg/not vararg in alternative signatures.
2012-06-27 00:44:08 +04:00
Evgeny Gerashchenko
a2066ab0ab
Added checking for FQ name prefixes in alternative signatures. Added tests.
2012-06-27 00:44:07 +04:00
Evgeny Gerashchenko
a72017546b
Updated MethodWithGenerics test, replacing Map.Entry with Entry (this must work).
2012-06-27 00:44:07 +04:00
Evgeny Gerashchenko
de83e93f28
Added checks for type arguments numbers in alternative signatures. Added tests.
2012-06-27 00:44:07 +04:00
Evgeny Gerashchenko
1649b208cb
Added check for value parameters number in alternative signatures loading.
2012-06-27 00:44:06 +04:00
Andrey Breslav
fe394b9827
Set return type for the fake constructor of a class object
2012-06-26 18:00:23 +02:00
Andrey Breslav
dea6c452a0
Test classes regenerated with new data
2012-06-26 17:51:16 +02:00
Andrey Breslav
b3272feb63
Lazy resolve passes DescriptorRenderer tests except for the Enum case
2012-06-26 17:51:15 +02:00
Andrey Breslav
036981f368
Test renamed, test data moved
2012-06-26 17:51:15 +02:00
Svetlana Isakova
190360b1d4
EA-35501 fixed (checkBackingField assert)
2012-06-22 19:02:03 +04:00
Svetlana Isakova
53b59ce152
EA-36814. Do not repeat annotations resolve
...
for primary constructor parameters as properties
(annotations are already resolved for parameters themselves)
2012-06-22 17:26:29 +04:00
Svetlana Isakova
a66771ba42
Merge pull request #85 from udalov/kt2146
...
Kt2146
2012-06-22 05:23:08 -07:00
Alexander Udalov
28b150892a
"!is" now works correctly in when-clauses
2012-06-22 15:51:13 +04:00
Alexander Udalov
3f4e2514ea
extract DataFlowInfo from when-condition + more tests for kt2146
2012-06-22 13:18:45 +04:00
Alexander Udalov
b5ba7123d5
KT-2146 Nullability casts in when.
...
#KT-2146 Fixed
2012-06-21 22:38:13 +04:00
Alexander Udalov
38fc57ae42
Pass DataFlowInfo through when-conditions
2012-06-21 22:38:11 +04:00