Commit Graph

7352 Commits

Author SHA1 Message Date
Pavel V. Talanov 0e4b59cc28 Simplify code in DescriptorResolver#resolvePrimaryConstructorParameterToAProperty. 2012-08-21 15:32:45 +04:00
Pavel V. Talanov b36873bf6d Class object always have name of the form <class-object-for-ClassName>. 2012-08-21 15:32:44 +04:00
Pavel V. Talanov ca6516489c DescriptorUtils#getClassObjectName utility and usages. 2012-08-21 15:32:43 +04:00
Nikolay Krasko cb0cf8e563 KT-1545 reformatting of kotlin code uses incorrect indentation for multi-line kdoc comments
#KT-1545 Open
2012-08-21 13:25:17 +04:00
Nikolay Krasko 2e92594462 KT-2242 formatting problems: function literal passed outside the parentheses
#KT-2242 Fixed
2012-08-21 12:54:53 +04:00
Alexander Udalov d38b965bf1 utilize JetTestUtils.createFile() in tests 2012-08-20 20:53:33 +04:00
Nikolay Krasko b85300d90a KT-2572 Cursor position on Enter after 'try'
#KT-2575 Fixed
2012-08-20 20:13:58 +04:00
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