Ilya Gorbunov
b556adf8db
Move/alias Appendable and StringBuilder to kotlin.text
...
#KT-2084
2016-11-16 18:47:42 +03:00
Ilya Gorbunov
5c2fe13a89
Refer to java.util.Arrays fully-qualified in generated code
2016-11-16 18:47:42 +03:00
Ilya Gorbunov
fae5c88f22
Remove java.util references from the common code
2016-11-16 18:47:42 +03:00
Ilya Gorbunov
63535393e7
Move Comparator to kotlin.comparisons and make it imported by default.
...
#KT-2084
2016-11-16 18:47:42 +03:00
Ilya Gorbunov
090bd76ac9
Introduce type aliases for jvm collections in kotlin.collections
...
#KT-2084
2016-11-16 18:47:42 +03:00
Stanislav Erokhin
3d7d6e4204
Fix EA-86841 and EA-79267.
...
(cherry picked from commit fcf9bfd)
2016-11-16 18:13:05 +03:00
Vyacheslav Gerasimov
c6d668e243
Fixed "should not analyze element" problem with destructuring declarations in uast
2016-11-16 18:05:31 +03:00
Vyacheslav Gerasimov
55f14ba8c0
Fixed method parameter default value processing in uast
2016-11-16 18:05:22 +03:00
Vyacheslav Gerasimov
d90ec3e777
Fixed KotlinLintTestGenerated.testJavaPerformance + refactoring
...
Moved android lint tests from uast-kotlin to idea-android
2016-11-16 18:05:09 +03:00
Alexander Udalov
3d75b78dc5
Use IOUtil instead of DataOutput for readUTF/writeUTF in file based index
...
It uses less space and also may be a little bit faster
2016-11-16 16:30:34 +03:00
Natalia Ukhorskaya
0fb5a18a26
Debugger: refactor smart step into to use descriptors instead of psi elements (KT-13485)
...
#KT-13485 Fixed
2016-11-16 15:20:00 +03:00
Dmitry Petrov
f7203da2d6
Type inference SHOULD NOT work for type alias constructor in supertypes list
...
(same as for classes: type arguments should be provided explicitly).
2016-11-16 14:11:14 +03:00
Dmitry Petrov
cd8b5dcb00
Constructors for inner type aliases: add a failing test (no way to invoke such constructor at the moment).
2016-11-16 14:11:14 +03:00
Dmitry Petrov
718e8ebf9e
Inner type aliases.
...
Type alias is considered "inner" if it captures outer class type parameters (implicitly or explicitly).
2016-11-16 14:11:14 +03:00
Mikhael Bogdanov
63fed20249
Fix VerifyError on android with 'inv' operation on Byte and Short
2016-11-16 09:42:26 +01:00
Dmitry Jemerov
5b44343d15
Fix compilation: add required transitive dependency
2016-11-15 22:05:35 +01:00
Zalim Bashorov
eda8749b91
Mute without checks all diagnostic tests for tailrec since it's not supported in JS yet and it takes too much time when muted with checks
2016-11-15 22:11:09 +03:00
Zalim Bashorov
bde9f99d7c
Unmute already worked tests and regenerate tests
2016-11-15 22:11:09 +03:00
Zalim Bashorov
8c3d2872c3
Generate right code to check that muted test is failed
2016-11-15 22:11:09 +03:00
Dmitry Jemerov
cc6722ad78
fix build script
2016-11-15 16:49:47 +01:00
Dmitry Jemerov
3d3c3b9ebb
add Gradle wrapper to project
2016-11-15 16:42:57 +01:00
Dmitry Jemerov
b7ff16757a
Allow to specify path to upload plugins from
2016-11-15 16:25:18 +01:00
Dmitry Jemerov
bc4d7b2a6e
Remove cyclic dependency between idea-maven and idea modules: move constants for stdlib IDs to shared code
2016-11-15 15:33:20 +01:00
Anton Bannykh
b185715aeb
Removed reified to fix the bootstrap. The @library annotation prevents from making the function inline.
2016-11-15 16:50:58 +03:00
Ilya Gorbunov
09072f6cdc
Remove toInt() conversion as it's hardly required.
...
#KT-14789
2016-11-15 16:38:52 +03:00
Ilya Gorbunov
8de67d039b
Expose maximum version component value as a constant, increase it to 255.
...
Add tests for KotlinVersion, document remaining parts of API.
#KT-14789
2016-11-15 16:38:52 +03:00
Ilya Gorbunov
5f7d779370
Introduce KotlinVersion API
...
#KT-14789
2016-11-15 16:38:52 +03:00
Mikhail Zarechenskiy
7103624308
Do not force resolve from type constructor
...
In case of creating context for something like 'class Foo(f: Bar)'
there is no need in resolving supertypes/annotations of Bar type
2016-11-15 14:57:50 +03:00
Dmitry Jemerov
53cb559440
Fix exception on databinding-generated classes in AS 2.3 ( https://ea.jetbrains.com/browser/ea_reports/1261189 )
2016-11-15 12:47:45 +01:00
Anton Bannykh
334ae72957
Moved checking that reified is used in inlines only to the main frontend (KT-12695, KT-13697 fixed)
2016-11-15 13:44:48 +03:00
Alexey Andreev
08f0636d39
JS: fix AMD emulation in Maven tests
2016-11-15 12:28:33 +03:00
Alexander Udalov
eedad9194e
Drop KParameter.isNoinline, KParameter.isCrossinline
...
There seems to be no valuable use cases for them at the moment
2016-11-15 11:01:17 +03:00
Alexander Udalov
7e82d139cf
Drop KFunction.isTailrec
...
The fate of this modifier seems unclear, and there doesn't seem to be any
valuable use cases for it in reflection
2016-11-15 11:01:16 +03:00
Denis Zharkov
5e73dc4a4c
Minor. Invert 'notLocal' boolean value parameter
...
- Mainly to avoid double negations (!notLocal)
- Also swap last parameters (to allow use of named arguments)
2016-11-15 09:30:13 +03:00
Denis Zharkov
b5a6cbd188
Adjust "Remove explicit type" intention to properties with getters
...
#KT-14794 Fixed
2016-11-15 09:30:13 +03:00
Denis Zharkov
e25c4b96ad
Add test for specify type explicitly when it can be inferred from getter
...
#KT-14794 In Progress
2016-11-15 09:30:13 +03:00
Denis Zharkov
6fca46a452
Allow inferring property type from its getter
...
#KT-550 Fixed
2016-11-15 09:30:13 +03:00
Denis Zharkov
51a5bf9f7e
Minor. Drop redundant parameters of 'inferReturnTypeFromExpressionBody'
...
Both storageManager and expressionTypingServices must be the same instances
inside the resolution session and can be obtained from the DescriptorResolver fields
2016-11-15 09:30:13 +03:00
Denis Zharkov
77c524de33
Minor. Remove redundant if
...
'inType' var is guaranteed to be not-null
2016-11-15 09:30:13 +03:00
Denis Zharkov
96fa04569a
Minor. Simplify variable type resolution
2016-11-15 09:30:13 +03:00
Denis Zharkov
e21ecbe702
Minor. Split method VariableTypeResolver.process
...
It looks much natural to differ type resolution and setting
compile time initializer to descriptor
2016-11-15 09:30:13 +03:00
Nikolay Krasko
bce023c8ad
Make patch of obfuscated field in ThreadTracker more stable
2016-11-14 21:25:50 +03:00
Dmitry Jemerov
7beee33f05
Read bundled runtime version from build.txt in 'kotlinc' directory, not from plugin version
2016-11-14 18:51:36 +01:00
Ilya Gorbunov
e1cf89a956
Remove also Long/Char mixing binary operation intrinsics
2016-11-14 20:40:32 +03:00
Ilya Gorbunov
61e83a4db5
Remove obsolete range-related intrinsics from JS translator.
2016-11-14 20:40:32 +03:00
Mikhail Glukhikh
b850d71e17
Replace single line let: application on IDEA + front-end modules
2016-11-14 18:47:23 +03:00
Mikhail Glukhikh
09ae1f1a5d
False positive removed in replace single line let intention #KT-14791 Fixed
2016-11-14 18:47:18 +03:00
Mikhael Bogdanov
61da8be260
Generate parameters metadata for java 8 reflection
2016-11-14 14:27:08 +01:00
Mikhael Bogdanov
7721aa189f
Update proguard to 5.3 version
2016-11-14 14:27:08 +01:00
Dmitry Jemerov
3f7b9745b4
Fix race condition with synthetic files facade calculation in Upsource (UP-8046)
2016-11-14 12:56:34 +01:00