Commit Graph

1319 Commits

Author SHA1 Message Date
Alex Tkachman 9ba1dbf98a refactoring in progress 2012-02-27 22:59:34 +02:00
Svetlana Isakova 1610e7eefd fixes after merge 2012-02-27 22:11:13 +04:00
Svetlana Isakova 631961e761 Diagnostics & diagnostic factories refactoring 2012-02-27 21:39:26 +04:00
Andrey Breslav 963557f3c8 KT-1457 Subtyping doesn't work when type parameter is used indirectly in supertype declaration 2012-02-27 15:34:57 +04:00
Andrey Breslav cefd9d5ca2 KT-627 Drop Predicate expression 2012-02-27 12:58:23 +04:00
Evgeny Gerashchenko f84d22f040 Got rid of LinkedMultiMap, since it is added to IDEA platform. 2012-02-27 12:36:30 +04:00
Alex Tkachman eb017d8a2e fix for 1345 2012-02-26 09:38:07 +02:00
Nikolay Krasko 782ea7b1c3 getElement() and getRangeInElement() are expected to return non-nullable values 2012-02-24 23:04:57 +04:00
Alex Tkachman 8faf1e62d3 fix for NPE 2012-02-24 18:02:19 +02:00
Andrey Breslav d22f4eb144 Rename getOutType() -> getType() 2012-02-24 18:50:40 +04:00
Andrey Breslav 1f4f4e5c24 Remove the annoying misconcetion in the naming. 2012-02-24 18:39:35 +04:00
Alex Tkachman 6146ec4268 KT-1406 wrong generation of receiver for ext.fun called inside closure 2012-02-24 16:24:16 +02:00
Andrey Breslav f049d27fa3 KT-1385 support multi line strings with templates 2012-02-24 14:25:31 +04:00
Svetlana Isakova cc244fad94 KT-1191 Wrong detection of unused parameters
KT-1219 Incorrect 'unused value' error in closures
2012-02-24 12:09:02 +04:00
Alex Tkachman 7f2a8100c4 KT-1417 & KT-1398 proper access flags for backing fields 2012-02-24 09:57:49 +02:00
Alex Tkachman 80e728b6f6 KT-413 proper visibility of this$0 2012-02-24 08:26:50 +02:00
Alex Tkachman ec442af1b3 attempt to fix failing test 2012-02-23 19:17:55 +02:00
Alex Tkachman 1921e266a8 ability to compile text (not file) 2012-02-23 18:45:34 +02:00
Alex Tkachman f4bfffd714 global var replaced by thread local 2012-02-23 17:13:03 +02:00
Alex Tkachman 4f67177aa2 Revert "ability to compile text and small refactoring"
This reverts commit 4ddf101397.
2012-02-23 17:01:33 +02:00
Alex Tkachman 4ddf101397 ability to compile text and small refactoring 2012-02-23 14:12:28 +02:00
James Strachan 0212f91343 add some helper classes so that we can implement kdoc fully in kotlin (to work around some inference ambiguity bugs) 2012-02-23 11:54:24 +00:00
James Strachan 6a2e73a724 add some NPE handling 2012-02-23 11:53:48 +00:00
Stepan Koltsov 35e157e9c5 fix tests 2012-02-23 01:18:11 +04:00
Stepan Koltsov e0fae55ee4 read kotlin class objects from binary classes 2012-02-22 22:11:08 +04:00
Stepan Koltsov b9ba7c6b9a hide FunctionDescriptor.initialize 2012-02-22 22:11:04 +04:00
Stepan Koltsov b9bc882bf9 useless constructor modality parameter 2012-02-22 22:10:58 +04:00
Stepan Koltsov 16f76982d1 assert JetLightClass is not parsed as regular PsiClass 2012-02-22 22:10:54 +04:00
Nikolay Krasko 21b3be0ef0 Fix NPE because of nullable local name 2012-02-22 19:29:17 +04:00
James Strachan f771158d30 refactored the loading of KDoc and removed the old code to show how to navigate the bindingContext as thats now implemented in KDocSupport 2012-02-22 14:01:58 +00:00
James Strachan e05d299874 added a simple little CompilerPlugin interface and a loosely coupled loader of KDoc if its configured (via -docOutput) and its on the classpath then it can be used at the same stage as a compile & refactored KDoc to work with the compiler. Added a "docStdlib" goal to try out the kdoc on stdlib if the kdoc plugin has been built in kdoc/target/*.jar 2012-02-22 13:28:44 +00:00
Andrey Breslav e3efda22c5 Removing the KDoc processor for now 2012-02-22 16:50:16 +04:00
Andrey Breslav be032b84c8 Typo fixed 2012-02-22 16:15:09 +04:00
Andrey Breslav 583bcc0a1d Strub model walking code 2012-02-22 16:14:07 +04:00
Alex Tkachman 53bba59a4f dbl -> toDouble 2012-02-22 13:14:41 +02:00
Alex Tkachman 18990e2c1b bug with delegation from EA 2012-02-22 13:02:48 +02:00
Andrey Breslav b46e20c5c3 KT-1138 Need better diagnostic for case when method/constructor call is followed by class initializer or simple block 2012-02-22 11:51:37 +04:00
Stepan Koltsov 62ddef4734 fix tests after javabean properties parsing 2012-02-22 00:38:14 +04:00
Stepan Koltsov 71f62f872f fix stdlib compilation after javabean refactoring 2012-02-21 23:54:16 +04:00
Stepan Koltsov f83c5e0d83 read java bean properties as kotlin properties 2012-02-21 23:15:36 +04:00
Alex Tkachman cc8d263f9e preliminary support for intrinsics in std lib. javaClass<T> 2012-02-21 20:37:38 +02:00
Stepan Koltsov 2796c914c4 remove unused code in JavaDescriptorResolver 2012-02-21 21:30:02 +04:00
Stepan Koltsov b59970a610 JDR: work with names, not with PsiSomething
This should fix (or hide) problems like
http://ea.jetbrains.com/browser/ea_problems/33857
2012-02-21 21:10:25 +04:00
Stepan Koltsov 66e7945f29 minor JDR refactoring
* function descriptor cache is no longer needed in JDR
* fixed incorrect assertion
* removed unused parameter
* better exception message

Related to http://ea.jetbrains.com/browser/ea_problems/33872
2012-02-21 20:44:56 +04:00
Stepan Koltsov aacf63ff6f reading annotations from bytecode
(without fields yet)
2012-02-21 20:16:11 +04:00
Stepan Koltsov 175b7230f1 better compiler output for incomplete hierarchies 2012-02-21 18:37:49 +04:00
Alex Tkachman 181f4d444d fix for broken test 2012-02-21 15:45:43 +02:00
Alexander.Podkhalyuzin e012f1e34b KT-1328 removing single class from file, should remove file too. Also changed file icon to one of containing classes icon. 2012-02-21 17:40:29 +04:00
Alex Tkachman fb8fa8bf9e intrinsic renamed to Intrinsic 2012-02-21 15:31:05 +02:00
Alex Tkachman 5e7de3f5ab getting rid of JetObject.getOuterObject 2012-02-21 15:13:16 +02:00