Commit Graph

6328 Commits

Author SHA1 Message Date
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
James Strachan d6d99ec226 temporary disabled 2 failing JS compile tests until I figure out the fix ;) 2012-06-26 06:18:52 +01:00
James Strachan 95f61effc6 Merge pull request #87 from zolotov/sortby-function-implementation
Sortby function implementation
2012-06-25 13:47:59 -07:00
Stepan Koltsov 8d2bd30585 kdoc: constants for names 2012-06-25 23:55:30 +04:00
Stepan Koltsov be1b9a011b kdoc: link to generated html source from kdoc 2012-06-25 23:55:30 +04:00
Stepan Koltsov caddc84950 kdoc: KClass: remove unnecessary name parameter 2012-06-25 23:55:29 +04:00
Stepan Koltsov 5cd062f95b kdoc: compute source file relative paths in model 2012-06-25 23:55:29 +04:00
Stepan Koltsov 631832b325 kdoc: change highlighter2 into doclet 2012-06-25 23:55:29 +04:00
Stepan Koltsov 8372ad7ec2 kdoc: cleanup 2012-06-25 23:55:28 +04:00
Alexander Zolotov 8b191f5179 Disabled failing JS test case (kotlin-js-tests module) until function comparator works 2012-06-25 23:40:30 +04:00
Alexander Zolotov 019962b654 Add sortBy method for interables 2012-06-25 23:40:18 +04:00
Nikolay Krasko 72ef07acef Don't stub parameter if it's a loop parameter 2012-06-25 17:05:01 +04:00
Nikolay Krasko 6b82429587 Don't create stubs for properties inside function initializers (EA-36861) 2012-06-25 15:07:10 +04:00
James Strachan 2aceeebc95 enabled the ListTest to demonstrate KT-2314 - we can re-enable the kotlin-js-tests-junit test case when this is fixed 2012-06-25 10:14:20 +01:00
James Strachan 7803393aa4 fixed up the JS generation of the Dom stdlib code 2012-06-25 10:04:13 +01:00
James Strachan c09106fe68 fixed the JS maven plugin so it can generate a single JS file with all the required kotlin JS inside 2012-06-25 10:03:46 +01:00
Nikolay Krasko 7499ba0255 Stub for enum entry 2012-06-25 11:41:34 +04:00