Michael Nedzelsky
729e7084fa
new ant test for kotlin javascript library support
2014-12-12 03:03:29 +03:00
Michael Nedzelsky
ecc0751221
K2JS: add cli compiler tests for libraries
2014-12-12 03:03:27 +03:00
Michael Nedzelsky
103307432e
update kotlin javascript stdlib if needed
2014-12-12 03:03:24 +03:00
Michael Nedzelsky
85a38e17de
reuse for KotlinJS library common Library dialogs
...
remove unnecessary code for kotlin js library support
JS backend: simplify check isConfigured for kotlin js module
2014-12-12 03:03:22 +03:00
Michael Nedzelsky
61e9cbec66
K2JS: get kotlin js module name from Kotlin-JS-Module-Name attribute in manifest
2014-12-12 03:03:13 +03:00
Michael Nedzelsky
83ec20508a
JS backend: isJsRuntimeLibrary -> isKotlinJavascriptStdLibrary
2014-12-12 03:03:11 +03:00
Michael Nedzelsky
34411dcf01
JS backend: add Specification-Title to manifest and LibraryUtils.isKotlinJavascriptLibrary
2014-12-12 03:03:03 +03:00
Michael Nedzelsky
12ff5de013
K2JS: fix KT-5639 Exception in kotlin-js when directory is given instead of output file
...
#KT-5639 Fixed
2014-12-12 01:25:15 +03:00
Alexander Udalov
d71220f8b1
Drop ArrayGenTest, move test case to generated
2014-12-11 16:04:04 +03:00
Denis Zharkov
c6d6aebd2f
Added tests for stdlib Array constructors
2014-12-11 16:04:04 +03:00
Denis Zharkov
fe9599d588
Removed codegen of Array-constructor with lambda
2014-12-11 16:04:04 +03:00
Denis Zharkov
d345ba05dd
Added inline function "Array" into stdlib
...
It has the same signature and semantics as Array constructor had
Also made Array constructor private and accepting no arguments
2014-12-11 16:04:03 +03:00
Denis Zharkov
654411a0b0
Refactored tests using Array constructor:
...
Some moved to tests with stdlib
Some changed to use arrayOfNulls
2014-12-11 16:04:03 +03:00
Denis Zharkov
abbcf61183
JVM Backend: always inline callable containing reified TP
2014-12-11 16:04:02 +03:00
Denis Zharkov
b86e19782c
Moved containsReifiedTypeParameters to DescriptorUtils
2014-12-11 16:04:02 +03:00
Zalim Bashorov
bc3f53afff
JS backend: added the support dynamic.
2014-12-10 22:48:02 +03:00
Zalim Bashorov
354af95d47
Frontend: add JetTokens.EQEQEQ and JetTokens.EXCLEQEQEQ to OperatorConventions.NOT_OVERLOADABLE
2014-12-10 22:48:01 +03:00
Zalim Bashorov
bc3859181f
Frontend: add default getter and setter to dynamic property descriptors.
2014-12-10 22:48:01 +03:00
Zalim Bashorov
65ef7525ce
Allow to use dynamic types for JS projects in IDEA.
2014-12-10 22:48:00 +03:00
Andrey Breslav
2c45670cc5
NPE fixed
2014-12-10 17:34:17 +03:00
Andrey Breslav
638e768226
Minor. Class renamed
2014-12-10 16:18:38 +03:00
Andrey Breslav
d17edacb65
Discriminate calls with implicit dynamic receivers
2014-12-10 16:18:38 +03:00
Evgeny Gerashchenko
4e702e34f0
Fixed incremental compilation, when removing all callables from file.
2014-12-10 14:28:21 +03:00
Denis Zharkov
9910f7cfbd
Added test demonstrating usage of reified TP for dependency injection
2014-12-08 21:30:54 +03:00
Denis Zharkov
010af19fe9
Delegated Properties: allowing type parameters for get/set methods
...
#KT-6253 Fixed
2014-12-08 21:30:54 +03:00
Nikolay Krasko
3677881e18
Change parser error for when (KT-6420)
...
#KT-6420 Fixed
2014-12-08 20:42:48 +03:00
Stanislav Erokhin
f9afdf7540
Use Visibilities.isVisible with ReceiverValue.
2014-12-08 18:24:30 +03:00
Stanislav Erokhin
f640f82ed0
Add serialization for PRIVATE_TO_THIS
2014-12-08 18:24:30 +03:00
Stanislav Erokhin
fc8cec9509
Create PRIVATE_TO_THIS visibility
2014-12-08 18:24:30 +03:00
Stanislav Erokhin
d59031fdcc
Skip check variance for irrelevant classes
2014-12-08 18:24:30 +03:00
Stanislav Erokhin
fced4756bb
Add variance test for nullable and function types.
2014-12-08 18:24:30 +03:00
Stanislav Erokhin
365c8a4787
Rename TaskPrioritizer.java -> .kt
2014-12-08 18:24:30 +03:00
Stanislav Erokhin
09250c89ed
Convert TaskPrioritizer to kotlin.
2014-12-08 18:24:30 +03:00
Dmitry Jemerov
f31ea8bd0e
in order to avoid misleading suggestions to run 'ant dist', calculate the paths to SDK annotations relatively to the home directory
2014-12-08 17:30:49 +03:00
Evgeny Gerashchenko
a3fdce8131
Highlighting "as Foo" for useless casts in gray.
...
#KT-6070 fixed
2014-12-08 17:30:47 +03:00
Evgeny Gerashchenko
20ee59c1e5
Simplified positioning strategy for unreachable code.
2014-12-08 17:30:47 +03:00
Evgeny Gerashchenko
cd197b9ff9
Convert PositioningStrategy to Kotlin. Cleanup.
2014-12-08 17:30:46 +03:00
Evgeny Gerashchenko
52549607f9
Convert PositioningStrategy to Kotlin. Auto-convert.
2014-12-08 17:30:45 +03:00
Evgeny Gerashchenko
d4a8aa4eaa
Convert PositioningStrategy to Kotlin. Rename files.
2014-12-08 17:30:45 +03:00
Evgeny Gerashchenko
8b329fcada
Highlighting "unused function literal" as other unused (gray)
2014-12-08 17:30:44 +03:00
Evgeny Gerashchenko
858fda20b7
VARIABLE_WITH_REDUNDANT_INITIALIZER is highlighted as unused (gray)
2014-12-08 17:30:42 +03:00
Alexey Sedunov
c917459926
Change Signature: Add support of type parameter substitutions in overriding members
2014-12-08 16:30:07 +03:00
Alexey Sedunov
c9873428de
Change Signature: Update signatures of lambdas passed to SAM constructors
2014-12-08 16:30:04 +03:00
Alexey Sedunov
74cdecd829
Find Usages: Restrict search scope of class object private declarations to
...
the containing class
2014-12-08 16:30:00 +03:00
Alexander Udalov
c012efe64e
Drop compilation of built-ins/stdlib from ForTestCompileRuntime
...
Because the process of building kotlin-runtime.jar will likely get more
complicated soon, and that logic will already be present in build.xml.
Run "ant compiler-quick runtime" instead before All Tests
2014-12-08 15:06:35 +03:00
Nikolay Krasko
5684ab69f5
Increase stub version
2014-12-05 16:42:29 +03:00
Valentin Kipyatkov
b8d1f115bf
Renamed JetType.isNullable() to isMarkedNullable()
2014-12-03 21:36:10 +03:00
Valentin Kipyatkov
856be73500
Smart completion: generic functions are correctly included into the list
...
#KT-6375 Fixed
2014-12-03 19:07:04 +03:00
Valentin Kipyatkov
6ddedb7825
Better imported/non-imported items sorting in completion
2014-12-03 19:00:58 +03:00
Alexander Udalov
63bfa004fd
Introduce binary representation for annotations
...
Will be used where annotations can't be stored elsewhere: for example,
built-ins, JS, type annotations on JDK<8
2014-12-03 16:10:19 +03:00