Commit Graph

6344 Commits

Author SHA1 Message Date
Nikolay Krasko 0f2b3dbf14 Fix element removing - the previous one produced invalid postfix expression. 2012-06-27 17:40:51 +04:00
Nikolay Krasko 5ab1c796e0 Same file separators for generation tests on windows 2012-06-27 17:39:45 +04:00
Natalia.Ukhorskaya 0e07358362 Invokespecial instruction for invocation of private methods 2012-06-27 17:13:35 +04:00
Andrey Breslav f283873988 Generator rerun for added tests 2012-06-26 23:27:27 +02: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 eb4bcc35c0 Tuple classes have constructors 2012-06-26 23:13:54 +02:00
Andrey Breslav 06aa1478e6 A private constructor added to Nothing 2012-06-26 23:13:54 +02:00
Andrey Breslav 1361c70f68 FunctionN and ExtensionFunctionN are now abstract classes, not traits
+ Indexing of their type parameters is fixed (should match actual positions in the parameter list)

 The reason to make them classes:
 * This is how they are actually implemented in the JVM back-end (for performance)

 This can be reconsidered later, but seems to be a reasonable solution
2012-06-26 23:13:54 +02:00
Andrey Breslav a10d0e9c2b Type parameters of tuples and functions are not reified 2012-06-26 23:13:53 +02:00
Andrey Breslav 61d4f51cde THe 'reified' annotation respected in Lazy resolve 2012-06-26 23:13:53 +02:00
Andrey Breslav f0e0411847 Special classes (for Any and Nothing) introduced to Lazy Resolve 2012-06-26 23:13:53 +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 e59120f002 Got rid of warnings in AlternativeSignatureData. 2012-06-27 00:44:13 +04:00
Evgeny Gerashchenko 9044ec775f Minor reformatting. 2012-06-27 00:44:13 +04:00
Evgeny Gerashchenko 6f8f62cc9a Introduced AlternativeSignatureData.fail() method throwing exception. 2012-06-27 00:44:12 +04:00
Evgeny Gerashchenko 572f66a2a1 Changed some static methods of AlternativeSignatureData to non-static, got rid of some unnecessary method parameters. 2012-06-27 00:44:12 +04:00
Evgeny Gerashchenko 5ae461b5ac Made AlternativeSignatureMismatchException unchecked to make code simpler. Got rid of catching and rethrowings. 2012-06-27 00:44:12 +04:00
Evgeny Gerashchenko 2066fd19c2 Moved AlternativeSignatureMismatchException since it is the internal part of it now. 2012-06-27 00:44:11 +04:00
Evgeny Gerashchenko 4141015472 Converted AlternativeSignatureParsing static class into AlternativeSignatureData stateful class which contains result of all alternative signature parsing. This is needed to simplify JavaDescriptorResolver. 2012-06-27 00:44:11 +04:00
Evgeny Gerashchenko c427a3b7aa Renamed methods in AlternativeSignatureParsing, simplifying them. 2012-06-27 00:44:10 +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
Nikolay Krasko d3041d410e Merge pull request #80 from Frostman/quickfix-impr
Fix for KT-2174 Need "Replace with unsafe call" intention
2012-06-26 13:42:34 -07:00
Andrey Breslav a4ffb7c9d9 Fix processing of primary constructor parameters to match existing test data 2012-06-26 18:07:25 +02: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 2c688a5e3c Lazy resolve of enum entries 2012-06-26 17:51:16 +02:00
Andrey Breslav a76e7f6d56 Enum class kinds supported. Assertion for no return type made explicit 2012-06-26 17:51:16 +02:00
Andrey Breslav dea6c452a0 Test classes regenerated with new data 2012-06-26 17:51:16 +02:00
Andrey Breslav 6632c6abfc Inherited visibility resolution fixed 2012-06-26 17:51:15 +02:00
Andrey Breslav 150b54a615 Support enum entries as members (not matching the eager resolve behavior) 2012-06-26 17:51:15 +02:00
Andrey Breslav c4484cf81d getContainingPackageFqName() added to JetClassLikeInfo 2012-06-26 17:51:15 +02:00
Andrey Breslav eb8c0ec81c toString() for lazy scopes 2012-06-26 17:51:15 +02:00
Andrey Breslav 3fbe7a2c9b PSI data abstract through JetClassInfo, to facilitate enum literal resolution 2012-06-26 17:51:15 +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
Andrey Breslav e92f706c64 Typo fixed 2012-06-26 17:51:15 +02:00
Nikolay Krasko 8a11a885d0 An attempt to fix constant overwriting in function slice (EA-36390). 2012-06-26 19:33:26 +04:00
Nikolay Krasko 2c77a0941d Add reader intention for the thread operation (EA-36906) 2012-06-26 19:33:25 +04:00
James Strachan e7d6263a58 temporary disabled 2 failing JS builds until I figure out the fix ;) 2012-06-26 06:29:33 +01:00