Commit Graph

10768 Commits

Author SHA1 Message Date
Michael Bogdanov 8ec0cd18b7 CompareTo fix 2015-04-07 16:05:38 +03:00
Michael Bogdanov 8552dd60ae patch moveto stack 2015-04-07 16:05:38 +03:00
Michael Bogdanov 6e9d5ebe78 RenageTo convertion & before call 2015-04-07 16:05:38 +03:00
Michael Bogdanov 83f8dae9ac RangeTo.java->RangeTo.kt 2015-04-07 16:05:38 +03:00
Michael Bogdanov b99ff5c7ae Intrinsic conversion 2015-04-07 16:05:37 +03:00
Michael Bogdanov a5612ec4c0 intrinsics java->kt file renaming 2015-04-07 16:05:37 +03:00
Michael Bogdanov c1ab7f06f7 Get rid of getAsmMethod 2015-04-07 16:05:37 +03:00
Michael Bogdanov 61a49f13e1 ExtendedCallable and some optimazation in CallableMethod 2015-04-07 16:05:37 +03:00
Michael Bogdanov ce004a9181 Number/Object compare to branched one 2015-04-07 16:05:37 +03:00
Nikolay Krasko 2946c1d6a8 KT-7271 Accessing an extension property of Char.Companion leads to ClassNotFoundException in runtime
#KT-7271 Fixed
2015-04-07 15:59:05 +03:00
Stanislav Erokhin 3de0dff575 Migrate testdata to new lambda syntax 2015-04-07 13:08:53 +03:00
Stanislav Erokhin b703f59e04 Migrate kotlin sources, maven projects and stdlib to new lambda syntax 2015-04-07 13:08:53 +03:00
Stanislav Erokhin b152211096 Added init keyword to testdata 2015-04-07 13:08:51 +03:00
Ilya Gorbunov 70cc7fbf1f Remove never intentionally used String.hashCode extension. 2015-04-07 03:14:49 +03:00
Valentin Kipyatkov 8f01130e8e Minor code corrections after review 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov 754567af07 Important fix: PsiFile.getParent() is PsiDirectory! 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov d0637ccaf4 Conversion from Java on paste: post processing of code really works 2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 751f952536 Code improvements 2015-04-07 00:00:28 +03:00
Mikhail Glukhikh 88441814b9 Test for KT-5502 (works after KT-4450 / KT-5907 fix) 2015-04-06 18:32:19 +03:00
Mikhail Glukhikh d92ccad35d Implementation and tests for KT-5840 and newly created KT-7204. Now a safe call provides not-null receiver state *inside* argument list. It works also for ?. chains. #KT-5840 Fixed.
On the other hand, argument states do not propagate to successor statements for a safe call. #KT-7204 Fixed. A few additional comments.
2015-04-06 18:29:52 +03:00
Dmitry Jemerov 203c8ea125 compilation fix 2015-04-06 13:03:56 +02:00
Dmitry Jemerov 252c4118eb report 'break' and 'continue' inside 'when' as errors (even if 'when' is nested in a loop) 2015-04-05 00:33:14 +03:00
Yan Zhulanow 1f16328070 Add imports for XML widget tags, support.v4 fake package files 2015-04-03 17:37:22 +03:00
Yan Zhulanow 96074bc948 Fix Android byte code generation inside complex expressions 2015-04-03 17:37:21 +03:00
Valentin Kipyatkov 37af12c4bf Code improvements after review 2015-04-03 17:16:22 +03:00
Valentin Kipyatkov 5dbd23088f Removed WritableScope.addClassifierAlias too 2015-04-03 17:16:22 +03:00
Valentin Kipyatkov 54ea6113d7 Replaced addTypeParameterDescriptor with addClassifierDescriptor - it does the same 2015-04-03 17:16:22 +03:00
Valentin Kipyatkov ffc22e8b16 Removed unused methods 2015-04-03 17:16:21 +03:00
Valentin Kipyatkov 02b2fb000e Removed unused WriteThroughScope 2015-04-03 17:16:21 +03:00
Valentin Kipyatkov 0162980ff7 Refactored code in QualifiedExpressionResolver so that WritableScope.import* methods are not used anymore 2015-04-03 17:16:21 +03:00
Valentin Kipyatkov 21083b48ce Minor refactoring in imports resolve 2015-04-03 17:16:21 +03:00
Michael Nedzelsky 61726fdcb7 JS: merge KotlinJavascriptSerializer into KotlinJavascriptSerializationUtil 2015-04-03 05:36:21 +03:00
Michael Nedzelsky 1c7e1ddf26 JS: remove LibrarySourcesConfigWithCaching, introduce LibrarySourceConfig.Builder 2015-04-03 05:36:18 +03:00
Michael Nedzelsky 6d8fc1e035 JS: load metadata optimization in KotlinJavascriptMetadataUtils 2015-04-03 05:36:15 +03:00
Michael Nedzelsky 5a73bd19c5 JS: move processing metaInfo to TranslationResult 2015-04-03 05:36:02 +03:00
Michael Nedzelsky dbe59190ed JS: add writeMetadataToString, serializeToString 2015-04-03 05:35:59 +03:00
Michael Nedzelsky 0951d69bdc JS: add metaInfo attribute to Config 2015-04-03 05:35:56 +03:00
Alexander Udalov 4474005183 Fix codegen tests and overloads diagnostic test 2015-04-03 01:38:31 +03:00
Alexander Udalov 6279421094 Minor, add test on Java enum with specialized entry 2015-04-02 21:57:53 +03:00
Alexander Udalov 72aa3d1465 Use mock JDK in compiler tests where full JDK is not needed
- move some of boxWithStdlib tests under fullJdk/ directory, where they will be
  compiled against the full JDK
- introduce FULL_JDK in-text directive for the reflection test as only 4 tests
  out of 654 needed the full JDK
2015-04-02 21:57:48 +03:00
Dmitry Jemerov 7b507276ed frontend diagnostics for kotlin.jvm.overloads
#KT-7203 Fixed
2015-04-02 20:30:36 +02:00
Dmitry Jemerov 39828bfd32 Implement kotlin.jvm.overloads annotation for generating all overloads of a method that has default parameter values.
#KT-2095 Fixed

fix backend-side issues with kotlin.jvm.overloads: support the annotation on constructors, generate nullablity annotations on parameters, generate generic signatures, add various tests
2015-04-02 20:30:26 +02:00
Dmitry Jemerov e15b984232 Implement kotlin.jvm.overloads annotation for generating all overloads of a method that has default parameter values.
#KT-2095 Fixed
2015-04-02 20:30:01 +02:00
Dmitry Jemerov c1c9d3b090 extract code for generating parameterless constructor into a separate class and rewrite it in Kotlin 2015-04-02 20:30:00 +02:00
Ilya Ryzhenkov 1fc1c025e9 Fix EA-67177: exception when analysing unfinished assignment expression without RHS. 2015-04-02 18:59:57 +03:00
Pavel V. Talanov cb7617b3ca Refactor CompilerConfiguration: keys -> Content roots
Represent classpath roots and java source roots as separate entities
2015-04-02 16:13:06 +03:00
Valentin Kipyatkov 784b4a8aeb Minor code changes after code review 2015-04-02 10:17:00 +03:00
Valentin Kipyatkov 6a2cc66eb1 Got rid of isProbablyNothing in stubs + fixed exception on some files on indexing stubs 2015-04-02 10:10:31 +03:00
Valentin Kipyatkov bff2b2f378 Fixed tests for stubs 2015-04-02 10:09:25 +03:00
Valentin Kipyatkov 5ba5618718 Extension callables index and its use in completion 2015-04-02 10:09:25 +03:00