Commit Graph

12983 Commits

Author SHA1 Message Date
Zalim Bashorov 3104fc9574 Update to IDEA 133.124 EAP 2013-11-26 21:46:12 +04:00
Nikolay Krasko a4203fac2f Add test for rename method produced from kotlin function 2013-11-26 19:20:01 +04:00
Nikolay Krasko 97c8e05984 KT-2836 Rename kotlin base function with overrides
#KT-2836 Fixed
2013-11-26 19:20:01 +04:00
Nikolay Krasko 5350dc265a Rename: RenameKotlinFunctionProcessor.java -> RenameKotlinFunctionProcessor.kt 2013-11-26 19:20:00 +04:00
Nikolay Krasko ce810d3a55 Generate error tip for rename kotlin package klass from java 2013-11-26 19:20:00 +04:00
Nikolay Krasko 76562f9aa5 KT-3255 Add ability to rename kotlin classes from java
#KT-3255 Fixed
2013-11-26 19:19:59 +04:00
Nikolay Krasko 87fac21310 Auto generate test for rename 2013-11-26 19:19:59 +04:00
Nikolay Krasko 6935ad4437 Refactoring: remove author comment 2013-11-26 19:19:58 +04:00
Nikolay Krasko d765196758 Refactoring: remove warnings 2013-11-26 19:19:58 +04:00
Alexey Sedunov 6dfad69434 Allow super calls in object declarations 2013-11-26 17:29:59 +04:00
Evgeny Gerashchenko 897786f087 Fixed references to com.beust.* 2013-11-26 15:36:40 +04:00
Mikhael Bogdanov 9037449313 Inline flag calculation through inline annotation 2013-11-26 12:53:07 +04:00
Mikhael Bogdanov fd4816aa36 Inline flag marked deprecated 2013-11-26 12:53:07 +04:00
Mikhael Bogdanov 868f4841be Inline keyword removal 2013-11-26 12:53:06 +04:00
Mikhael Bogdanov 1ecdf77305 Added inline annotation 2013-11-26 12:53:06 +04:00
svtk 56aaf4a4b4 removed CallResolverUtil.copy 2013-11-25 19:42:07 +04:00
svtk 95ca2d8f98 Fixed bug with property and function name clash.
Complete type inference dependent on function literals and expected type
for variable as function calls not for 'invoke' calls
2013-11-25 19:42:07 +04:00
Nikolay Krasko f939918d36 Use system variables on teamcity for passing them into ant script 2013-11-25 14:01:26 +04:00
svtk 1bfca62592 Fixed: analyze unmapped (or with no callee) functional arguments with right context. 2013-11-22 18:58:02 +04:00
svtk ae3331717e Fixed: unmapped arguments should be completed as well. 2013-11-22 18:58:02 +04:00
svtk 058726a0f1 Check function arguments of nested unsuccessful calls. 2013-11-22 18:58:02 +04:00
svtk 1a34dffb1f Fixed inference in a simple case.
Try number lower bounds before upper bounds when computing a value.
2013-11-22 18:58:01 +04:00
svtk 9d3a7804cc Fixed tests for labels.
The bug was automatically fixed by previous commit.
2013-11-22 18:58:01 +04:00
svtk ca1650d31d Fixed exception from EA
"The constraint shouldn't contain different type variables on both sides: T <: R".
It occurred because we analyzed function literals before completion with unsubstituted (therefore wrong) expected type, and cached resulting type.
2013-11-22 18:58:01 +04:00
svtk efd5f69330 made try, finally and throw expressions implement JetStatementExpression 2013-11-22 18:58:00 +04:00
svtk 2bd4aa97c6 KT-4204 ConstraintSystem erased after resolution completion
#KT-4204 Fixed
2013-11-22 18:57:59 +04:00
svtk 5d95fa99bd small: removed obsolete logic ('isIrrefutable') 2013-11-22 18:57:59 +04:00
svtk 8defeef050 made UNREACHABLE_CODE a warning instead of error 2013-11-22 18:57:59 +04:00
svtk c1ec8cbde9 check Nothing type for all expressions not only for calls and simple names
(but excluding statement expressions)
2013-11-22 18:57:58 +04:00
svtk 36ce8f24b3 removed obsolete commented code 2013-11-22 13:08:11 +04:00
svtk e187b37f2d use constant BindingContext.EMPTY
instead of creating new BindingTraceContext
2013-11-22 13:08:10 +04:00
svtk e29dab5044 refactoring: record copy of resolved call explicitly 2013-11-22 13:08:10 +04:00
Andrey Breslav 4ac7afbb9f Module annotations-ext removed. Annotations are moved to runtime 2013-11-21 20:47:48 +04:00
Alexander Udalov c7d5819ef2 Pull up getThisAsReceiverParameter() 2013-11-21 19:34:51 +04:00
Alexander Udalov a77d6a006d Cleanup ClassDescriptorImpl & ErrorClassDescriptor
ClassDescriptorImpl now extends ClassDescriptorBase and reuses most of its
functionality. ErrorClassDescriptor now is initialized in its own constructor.
Inline trivial arguments everywhere
2013-11-21 19:34:51 +04:00
Alexander Udalov 62068bf741 Pull up getUnsubstitutedInnerClassesScope() 2013-11-21 19:34:50 +04:00
Alexander Udalov e9f102f3e6 Pull up getClassObjectType() 2013-11-21 19:34:50 +04:00
Alexander Udalov 97f2d568a3 Use StorageManager in AbstractClassDescriptor to create a lazy value 2013-11-21 19:34:50 +04:00
Alexander Udalov ff29684e3d Delete ExpressionPosition
It had been deprecated in 838c408
2013-11-21 19:34:50 +04:00
Alexander Udalov 223bf11de6 Minor, NamedMembers.toString() 2013-11-21 19:34:50 +04:00
Alexander Udalov 2c6bf6171f Rename ClassKind.isObject -> isSingleton
"isObject" gives a false impression that this is a check if the kind is OBJECT
2013-11-21 19:34:50 +04:00
Evgeny Gerashchenko 9a8d639ac5 Fixed compilation.
Ffter accidental using of method from too fresh IDEA.
2013-11-21 19:15:49 +04:00
Alexey Sedunov 2ecac63405 Fix compilation error caused by the change in IDEA API 2013-11-21 18:57:13 +04:00
Evgeny Gerashchenko f2bbbed7f6 Returning correct exit code from Windows batch scripts. 2013-11-21 17:37:38 +04:00
Evgeny Gerashchenko 51ac515941 Fixed kotlinc-* executables. 2013-11-21 17:37:37 +04:00
Evgeny Gerashchenko 581b9646d7 Added test for kotlinc executables. 2013-11-21 17:37:37 +04:00
Evgeny Gerashchenko ca785cbdd5 Minor. Moved classes. 2013-11-21 17:37:37 +04:00
Evgeny Gerashchenko d937909ebf Separated test data depending on target platform (JS/JVM) 2013-11-21 17:37:36 +04:00
Evgeny Gerashchenko f06e46951f Separated ScriptTest from other cli tests. 2013-11-21 17:37:36 +04:00
Evgeny Gerashchenko 46879e5a26 Moved args into test data of cli tests. 2013-11-21 17:37:35 +04:00