Commit Graph

691 Commits

Author SHA1 Message Date
Nikolay Krasko 2826db7d9a KT-1103 Public outer function from different package and source file is not visible in completion:
- Stubs elements are enabled
- Changed method for selecting indexing policy for plugin and compiler
- Quick fix for import unresolved top-level function added
2012-01-31 14:10:08 +04:00
svtk d236effed2 Added fictitious variable as a try to find a reason of KT-224 2012-01-30 14:58:18 +04:00
svtk 1d71e820bb KT-1185 Support full enumeration check for 'when' 2012-01-30 13:39:44 +04:00
Alex Tkachman c83d70b856 KT-1165 right type for default property setter 2012-01-27 23:59:59 +03:00
svtk 11ad28812d KT-1175 Mark unused literals 2012-01-27 18:32:55 +04:00
Nikolay Krasko 2dfacc24f1 Jet stubs (beginning) 2012-01-27 18:17:55 +04:00
Stepan Koltsov bfb1b6e7b5 read kotlin supertypes in JavaDescriptorResolver
+ tests
+ remove jet.Any from supers
2012-01-27 14:25:55 +04:00
svtk 1ed5471341 KT-559 Forbid abstract method call through super 2012-01-27 11:48:51 +04:00
svtk fc8bc52ea2 KT-1141 No check that object in 'object expression' implements all abstract members of supertype 2012-01-26 15:22:16 +04:00
Andrey Breslav 2bf83977f8 Proper resolution order for annotation constructors 2012-01-26 14:06:26 +04:00
svtk 7678815f17 KT-1156 Throwing exception on the right side of elvis operator marks code unreachable 2012-01-26 12:58:14 +04:00
Alex Tkachman c5d88251a9 CharSequence added in to stdlib 2012-01-25 22:09:32 +02:00
Stepan Koltsov bbbddf1c83 JetDecomposerPattern.getArgumentList() may return null 2012-01-25 22:19:53 +04:00
Stepan Koltsov 3a09f69f9b fix attempt to create JetTypeImpl with ErrorScope
ErrorScope is created here if any typeParameterDescriptor upper bounds scope is ErrorScope
2012-01-25 21:28:46 +04:00
Andrey Breslav 91337b8d9c Basic annotations on classes 2012-01-25 20:37:59 +04:00
Andrey Breslav a5bd1c069f KT-913 Weird errors attempting to declare ArrayList of function type
KT-507  Wrong parsing of generic constructor calls with qualified names and functions
2012-01-25 18:50:44 +04:00
Andrey Breslav 4f630ca390 Supported creating JetFiles with custom names 2012-01-25 15:33:29 +04:00
Nikolay Krasko e5f4377ee4 - KT-1068 Formatter: no indent after for
- KT-1098  After entering "if (lock == null)" and pressing enter indent is wrong
- Move tests for formatter
2012-01-25 15:03:46 +04:00
svtk c9cba3e1cc KT-939 CommonSupertypes erases scopes associated to types 2012-01-25 13:53:07 +04:00
Andrey Breslav 90b98a63b5 KT-1130 Remove ref from keywords 2012-01-25 13:12:42 +04:00
svtk 428681f1d3 'add primary constructor fix' changed to 'change to invocation fix' (for delegators to super class) 2012-01-24 16:58:29 +04:00
svtk 70d0cd882b KT-650 Prohibit creating class without constructor 2012-01-24 16:58:29 +04:00
Alex Tkachman 8176487c93 changed synchronized from extension method to normal one 2012-01-24 14:48:09 +02:00
Nikolay Krasko 5613cb90f9 KT-1036 JetFile -> PsiJavaFile cast problem 2012-01-24 15:00:07 +04:00
Andrey Breslav ca6f04eb55 'erased' annotation supported for type parameters. This is for internal use only. 2012-01-23 17:49:05 +04:00
svtk b3eb44e769 removed some string methods from library.jet 2012-01-20 19:32:12 +04:00
Maxim Shafirov f541cce098 Get full/core versions of IDEA using update_dependencies.xml. Don't use plugin SDK anymore. 2012-01-20 19:17:32 +04:00
svtk 8ec8fa47a4 KT-1078 Problem with visibility in do-while 2012-01-20 14:52:48 +04:00
Alex Tkachman b4b1ec1bb5 Merge remote branch 'origin/master' 2012-01-20 11:05:02 +01:00
Alex Tkachman aa2baf1eff tiny diagnostics improvments 2012-01-20 11:04:48 +01:00
svtk c09806da79 KT-1066 false 'Variable cannot be initialized before declaration' 2012-01-20 14:01:31 +04:00
svtk 936a081bae KT-1075 No type check for 'in range' condition in 'when' expression 2012-01-20 12:10:34 +04:00
svtk e2189f53e1 KT-1071 import the std.io package by default (tests after KT-842) 2012-01-20 12:00:33 +04:00
svtk 7fae503a38 KT-1080 Don't use previously imported packages while resolving import references 2012-01-20 11:58:17 +04:00
Andrey Breslav 0c95fb9fc1 Fix override resolutions when the same supertype is (indirectly) included many times, such as
class A : B, C
  class B : C
2012-01-19 16:50:20 +04:00
unknown 16ceb446a3 Fixed completion for method calls.
Initial support of Parameter Info (Ctrl+P) feature (including named parameters reordering).
Todo list:
1. Constructors are not working now (even primary constructor).
2. Tests.
2012-01-18 21:05:30 +04:00
svtk cc3a7448dc KT-657 Semantic checks for when without condition 2012-01-18 19:28:39 +04:00
svtk cbcfeaa1b7 control flow construction: creation of unbound labels in when fixed 2012-01-18 14:34:28 +04:00
svtk 04b1a4937c Merge remote-tracking branch 'origin/master' 2012-01-18 13:31:52 +04:00
svtk becd713111 KT-234 Force when() expressions to have an 'else' branch
KT-973 Unreachable code
2012-01-18 13:31:42 +04:00
Nikolay Krasko 2a3d1b2b45 KT-1033 Generate implementations produces wrong code 2012-01-18 12:16:40 +04:00
Stepan Koltsov e2782e0766 make error type from error class 2012-01-18 12:11:02 +04:00
Stepan Koltsov df9a4c7786 allow two ext properties with same name in one package 2012-01-18 12:08:35 +04:00
Stepan Koltsov 106846e868 ReadKotlinBinaryClassTest: nullability 2012-01-18 12:03:58 +04:00
Stepan Koltsov 0f9a21a305 no error scope in good type
propagate error types in several sites
2012-01-17 19:33:47 +04:00
Stepan Koltsov 0dd7387f6c substitute on error class should be error 2012-01-17 19:32:05 +04:00
Andrey Breslav 7b8a057f37 Merge remote branch 'origin/master' 2012-01-17 19:04:20 +04:00
Andrey Breslav edb324860a Stub visibility checker 2012-01-17 19:03:59 +04:00
svtk 94e3cc9976 Merge remote-tracking branch 'origin/master' 2012-01-17 15:43:17 +04:00
svtk e6a2b2fc0f //KT-1027 Strange selection of unreachable code 2012-01-17 15:43:11 +04:00