Commit Graph

888 Commits

Author SHA1 Message Date
Andrey Breslav 1f4783efb3 LR: Class objects are only allowed in a static context 2012-07-19 18:38:29 +04:00
Andrey Breslav ba75c0ca04 Test data for now passing tests 2012-07-19 18:12:37 +04:00
Andrey Breslav 3403e6c95d Proper scoping for inner classes: they must shadow outer classes 2012-07-19 18:12:12 +04:00
Andrey Breslav 8c1fd5e9c7 LR: Class object of an enum class doesn't carry type parameters 2012-07-19 17:22:10 +04:00
Andrey Breslav c91af010e1 Class descriptors with kind OBJECT are always final 2012-07-19 17:19:53 +04:00
Andrey Breslav bd5eb0c2b5 Missing test data file 2012-07-19 17:19:02 +04:00
Andrey Breslav 2ce0ddea8d Test data for newly passing tests 2012-07-19 17:09:58 +04:00
Andrey Breslav 4c71624997 LR: Delegation supported 2012-07-19 17:09:58 +04:00
Andrey Breslav 542068d14a Test data updated according to the changes in NamespaceComparator 2012-07-19 17:09:57 +04:00
Andrey Breslav eb1a279c67 Lazy resolve: Objects don't show up as classifiers 2012-07-19 17:09:57 +04:00
Andrey Breslav 43a00b9787 Class objects explicitly marked in the test data 2012-07-18 17:44:12 +04:00
Dmitry Jemerov 1ac60dae5e don't use PSI for calculating the type of first argument of trait function implementation 2012-07-13 16:12:33 +02:00
Andrey Breslav 44d92d8eb3 Support for checking loaded descriptors agains an expected txt file 2012-07-13 12:31:21 +04:00
Dmitry Jemerov 40e4e32eab object declarations need trait methods to be generated too (KT-2399) 2012-07-12 17:45:41 +02:00
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