Commit Graph

7345 Commits

Author SHA1 Message Date
Alexander Udalov 99ab76c8fd extract code for generating multifile namespace class names 2012-08-20 19:29:15 +04:00
Alexander Udalov 69b403783b multifile debugger tests 2012-08-20 19:29:14 +04:00
Alex Tkachman 354b61d9b5 Merge pull request #121 from goodwinnk/EA-35963
Test for EA-35963 (http://ea.jetbrains.com/browser/ea_problems/35963)
2012-08-20 08:22:15 -07:00
Svetlana Isakova 8860bab9f1 KT-2643 Support multi-declarations in Data-Flow analysis
#KT-2643 fixed
2012-08-20 18:48:09 +04:00
Svetlana Isakova f817eba7aa removed check for 'hasNext' val in frontend 2012-08-20 16:05:16 +04:00
Andrey Breslav f72fb51a55 JVMLS lsides 2012-08-20 11:26:13 +04:00
Andrey Breslav ecd1c17e47 Report type mismatch for component functions 2012-08-17 22:04:35 +04:00
Andrey Breslav 306c27a9bb Report error on local variables having no initializer and no type annotation 2012-08-17 22:04:35 +04:00
Andrey Breslav 2dc6691c1a DataFlowInfo taken into account when resolving component functions 2012-08-17 22:04:35 +04:00
Andrey Breslav b44c6f2d6e Tests for redeclarations with multi-decls 2012-08-17 22:04:35 +04:00
Andrey Breslav 409e474748 Component functions are indexed 1-based 2012-08-17 22:04:35 +04:00
Andrey Breslav 87ca056011 Obsolete TODOs removed 2012-08-17 22:04:35 +04:00
Andrey Breslav 06e3815110 JetVariableDescriptor is a named declaration 2012-08-17 22:04:35 +04:00
Andrey Breslav 68fffccf99 Rename 2012-08-17 22:04:35 +04:00
Svetlana Isakova edcff7db2a formatting 2012-08-17 22:04:34 +04:00
Svetlana Isakova a0da232ed3 KT-2631 Check multiple assignment - in progress
check multiple declaration without specified type annotation
2012-08-17 22:04:34 +04:00
Svetlana Isakova 68ebdabf8f Moved utility method to Util class 2012-08-17 22:04:34 +04:00
Svetlana Isakova 1efb6512c5 getInitializer moved to JetMultiDeclaration 2012-08-17 22:04:34 +04:00
Svetlana Isakova 1ab8dc9bad resolve local variable descriptors based on abstract interface 2012-08-17 22:04:34 +04:00
Svetlana Isakova 9e17069546 utility methods moved out of psi hierarchy 2012-08-17 22:04:34 +04:00
Svetlana Isakova 689dbdf6b6 formatting 2012-08-17 22:04:34 +04:00
Svetlana Isakova 3e5026407d rename 2012-08-17 22:04:33 +04:00
Svetlana Isakova 115bd21bea JetMultiDeclarationEntry implements JetVariableDeclaration 2012-08-17 22:04:33 +04:00
Svetlana Isakova f97572143e Visit/Accept methods for MultiDeclarations 2012-08-17 22:04:33 +04:00
Andrey Breslav 86e40073c5 KT-2625 Parse multiple assignment to variables
New PSI element types introduced.
Parsing procedure for properties reused.
Extra syntactic elements (receiver, type) are prohibited in the parser

#KT-2625 Fixed
2012-08-17 22:04:33 +04:00
Andrey Breslav d38d4e2e2b Name parsing extracted from parseFunction() and parseProperty() 2012-08-17 22:04:33 +04:00
Pavel V. Talanov 0796c98c81 Temporary workaround for KT-2619 Exception on using java enum in when. 2012-08-17 21:35:57 +04:00
Alexander Udalov dc2d21e0c9 test data for position manager 2012-08-17 18:38:47 +04:00
Alexander Udalov 8ddeddc895 PositionManager test framework 2012-08-17 18:29:03 +04:00
Alexander Udalov f6b741674b fix getJvmInternalName for trait's implemented members 2012-08-17 18:18:53 +04:00
Alexander Udalov eed755aae1 move getJvmInternalName to JetPositionManager 2012-08-17 18:18:52 +04:00
Alexander Udalov 8e9ad9c2ef record NAMESPACE_IS_SRC for root namespace 2012-08-17 18:18:52 +04:00
Natalia.Ukhorskaya 6b70d8200b Android module: codegen tests with java aren't supported yet 2012-08-17 18:13:13 +04:00
Svetlana Isakova ffc256f805 test for obsolete task
#KT-1358 fixed
2012-08-17 15:10:34 +04:00
Nikolay Krasko f9aea4c24c Test for EA-35963 (http://ea.jetbrains.com/browser/ea_problems/35963) 2012-08-17 15:06:56 +04:00
James Strachan 1c763dabe2 uncommented test now KT-1718 is fixed 2012-08-17 10:47:29 +01:00
James Strachan 816a2598c6 fixed up the JDBC code to work with the new Iterator API 2012-08-17 10:01:08 +01:00
James Strachan ecbd4daefb avoid unnecessary verbose type parameters now the type inferencer is better 2012-08-17 09:44:52 +01:00
James Strachan a4e80c7d5d disabled failing KDocTest for now 2012-08-17 09:43:58 +01:00
Nikolay Krasko 2fd5e01da8 KT-1389 Ctrl-Alt-B on class declaration does not work - Multifile tests
#KT-1389 Fixed
2012-08-16 21:21:29 +04:00
Nikolay Krasko 60b20374da KT-1389 Ctrl-Alt-B on class declaration does not work - Include location part into test data
#KT-1389 In Progress
2012-08-16 21:21:28 +04:00
Nikolay Krasko 5d1a488312 KT-1389 Ctrl-Alt-B on class declaration does not work - create a special renderer for showing JetLightClass in implementations list
#KT-1389 In Progress
2012-08-16 21:21:27 +04:00
Nikolay Krasko 1b4603a64a KT-1389 Ctrl-Alt-B on class declaration does not work - one more test, remove class info from test info, fix order of test data
#KT-1389 In Progress
2012-08-16 21:21:27 +04:00
Nikolay Krasko 0b97b14642 KT-1389 Ctrl-Alt-B on class declaration does not work
#KT-1389 In Progress
2012-08-16 21:21:26 +04:00
Pavel V. Talanov 52a933e179 Iterating over iterator. 2012-08-16 20:24:57 +04:00
Pavel V. Talanov e184bf7a8f Remove Iterator#get_hasNext since val hasNext convention is dropped. 2012-08-16 20:24:37 +04:00
Svetlana Isakova ec556e2abc val hasNext changed to fun in test 2012-08-16 18:39:24 +04:00
Svetlana Isakova d2e33c8900 tests for obsolete/fixed issues
#KT-1038 fixed
 #KT-1127 fixed
 #KT-1145 fixed
 #KT-1410 fixed
 #KT-1718 fixed
 #KT-2286 fixed
 #KT-1431 fixed
 #KT-2394 fixed
2012-08-16 18:39:24 +04:00
Svetlana Isakova fc858aec59 comments improved 2012-08-16 18:39:24 +04:00
Svetlana Isakova 96d99d19f3 generates remove method
throwing exception
in Kotlin class extending Iterator
2012-08-16 18:39:24 +04:00