Commit Graph

6574 Commits

Author SHA1 Message Date
Andrey Breslav 2888a6d950 Print preloader results even if the underlying code called System.exit() 2013-11-06 19:50:14 +04:00
svtk 4d999bbb1f Complete nested calls (arguments) for not successfully resolved calls.
When resolved call isn't single; when nested calls are unmapped arguments.
2013-11-01 15:26:14 +04:00
svtk 9023e96a07 in case of error set all arguments as unmapped
(not to forget to complete them later)
2013-11-01 15:26:14 +04:00
svtk 8c97beecb4 minor: assert instead of exception 2013-11-01 15:26:13 +04:00
svtk eea08cf4e1 initialization of 'hasInferredReturnType' property
moved to its getter
2013-11-01 15:26:13 +04:00
svtk 28e4642289 comment added 2013-11-01 15:26:13 +04:00
svtk d56b4d453c added check that all resolved calls are completed to diagnostic tests 2013-11-01 15:26:13 +04:00
svtk 7709d3d8de added flag 'isCompleted' to resolve call for tests 2013-11-01 15:26:13 +04:00
svtk d2680bca22 extracted class BindingTraceContextWithoutScopeRecording 2013-11-01 15:26:13 +04:00
Svetlana Isakova 101b619513 refactoring: rename, fixes after review 2013-11-01 15:26:13 +04:00
svtk 9c60430ef2 store 'hasInferredReturnType' in resolved call
instead of trying to compute it later
2013-11-01 15:26:12 +04:00
svtk f7be8ce953 refactoring: warnings eliminated 2013-11-01 15:26:12 +04:00
svtk 3c04b87f1a Clean internal data for 'invoke' calls. 2013-11-01 15:26:12 +04:00
svtk 0f56559823 Clean internal data in resolved call after it's built.
Not to store heavy and unnecessary any longer traces in resolved call.
2013-11-01 15:26:12 +04:00
svtk 84eb0b37a2 Cache resolution results for properties as well.
There is no need to complete these results with expected type and analyze arguments, as property doesn't have arguments.
However, it's useful to clean internal resolution data through completion phase for properties like for functions.
2013-11-01 15:26:12 +04:00
Andrey Breslav c3614c46cd Do not keep scopes in the trace for CLI compiler 2013-11-01 15:26:12 +04:00
Svetlana Isakova 491305ff34 todo test improved analysis of unary expressions
added explicit 'isUnaryExpressionDependentOnExpectedType' check
2013-11-01 15:26:11 +04:00
Svetlana Isakova c0890ccc37 improved debug message for temporary traces
added file name
2013-11-01 15:26:11 +04:00
Svetlana Isakova af194ba2e8 added debugName to MemberType 2013-11-01 15:26:11 +04:00
Svetlana Isakova 381fd35e3e do not store context in CallForImplicitInvoke 2013-11-01 15:26:11 +04:00
Mikhael Bogdanov 3ee9b8cbc5 Code rearrangment 2013-10-31 16:48:31 +04:00
Mikhael Bogdanov ee2a30f34f KT-4152 Wrong postfix increment/decrement calculation
#KT-4152 Fixed
2013-10-31 16:48:24 +04:00
Mikhael Bogdanov 7857dc5ba9 KT-3812 Can't work with akka via kotlin - java.lang.AssertionError: Couldn't resolve class *$
KT-4036 Couldn't resolve inner class akka.io.Tcp.Command.class

 #KT-3812 Fixed
 #KT-4036 FIxed
2013-10-31 16:42:54 +04:00
Mikhael Bogdanov c325dfffd9 KT-3523: VerifyError for invoke function in inner class
KT-4106: VerifyError: Can't access outer this in a lambda in inner class' constructor
KT-3152: VerifyError when accessing from a function of object to a field of outer outer class

  #KT-3523 Fixed
  #KT-4106 Fixed
  #KT-3152 Fixed
2013-10-31 16:42:53 +04:00
Mikhael Bogdanov 10396b853a Code block reorganization 2013-10-31 16:42:53 +04:00
Mikhael Bogdanov 318214b9d7 Capturing this in constructor context
KT-4086 VerifyError creating anonymous object in constructor
 #KT-4086 Fixed
2013-10-31 16:42:53 +04:00
Mikhael Bogdanov 936c0a0ae9 Lazy calculation of outer expression 2013-10-31 16:42:51 +04:00
Mikhael Bogdanov 47cd9a71a2 Inline local var 2013-10-31 12:31:39 +04:00
Mikhael Bogdanov 1e5b250d01 Remove redundant parameter 2013-10-31 12:31:38 +04:00
Mikhael Bogdanov c76c2d3dff Calculation whether class is inner via 'isInner' method 2013-10-31 12:31:38 +04:00
Mikhael Bogdanov fb39217dc3 KT-4140 VerifyError: Property in class object
#KT-4140  Fixed
2013-10-31 12:31:22 +04:00
Zalim Bashorov 1c1c138046 Update to IDEA 132.839 EAP 2013-10-30 19:37:14 +04:00
Pavel V. Talanov 2a5657e0e6 Convert JavaToKotlinTranslator, StandaloneJavaToKotlinConverterTest, TestCaseBuilder to Kotlin 2013-10-29 21:03:34 +04:00
Andrey Breslav ffd9b80f76 JavaClassDescriptor interface extracted 2013-10-29 14:21:55 +04:00
Erokhin Stanislav 2c93ace78d Add externalAnnotations ant test and ant-1.8 2013-10-28 16:07:01 +04:00
Erokhin Stanislav 35bc3cd587 Move ant from dependencies/ant -> dependencies/ant-1.7 2013-10-28 16:07:01 +04:00
Mikhael Bogdanov 3ee918b084 KT-4138: java.lang.VerifyError: (class: kotlin/sql/tests/h2/Foo, method: getA$b$0 signature: ()Lkotlin/sql/tests/h2/Foo;) Wrong return type in function
#KT-4138 Fixed
2013-10-28 15:18:51 +04:00
Andrey Breslav 12d0da8146 Use a charset-aware method 2013-10-28 12:23:21 +04:00
Andrey Breslav 6e76e57b4c Trim strings before comparison 2013-10-28 12:04:08 +04:00
Andrey Breslav 347bbfab3a Unused parameter removed 2013-10-25 19:55:43 +04:00
Andrey Breslav 3bb14c2d4e Throwing FileComparisonFailure enables opening test data file in diff dialog right from the test console 2013-10-25 19:55:42 +04:00
Andrey Breslav 70acf0fdba Test for an obsolete issue
#KT-2956 Obsolete
2013-10-25 19:55:42 +04:00
Andrey Breslav 46831b8d43 Tests for issues fixed in ed95463
#KT-2831 Fixed
#KT-3286 Fixed
#KT-3863 Fixed
#KT-3976 Fixed
2013-10-25 19:55:42 +04:00
Mikhael Bogdanov e3882e2dfb KT-4137: Verify error
#KT-4137 Fixed
2013-10-25 16:43:25 +04:00
Andrey Breslav 6074667fd4 Method map regenerated 2013-10-25 16:28:44 +04:00
Andrey Breslav ed95463d1e Map Nothing to java.lang.Void 2013-10-25 15:39:01 +04:00
Andrey Breslav 1ff0ffbac6 Map jet.Hashable to java.lang.Object, to avoid NoClassDefFound exceptions 2013-10-25 15:39:01 +04:00
Natalia Ukhorskaya 3e43a7ea70 Fix testdata 2013-10-25 14:48:31 +04:00
Natalia Ukhorskaya 3287744415 Add common JetElement for imports: JetImportList 2013-10-25 13:55:40 +04:00
Natalia Ukhorskaya 8bee5628d5 Remove package prefix from imports 2013-10-25 11:05:01 +04:00