Ilya Gorbunov
|
cd5f68f119
|
Add exclusions to JS platform default imports
|
2017-01-30 19:44:51 +03:00 |
|
Alexey Andreev
|
d0b7dc8f4e
|
JS: don't fail when generating signature for function which refers to undefined type
|
2017-01-30 19:26:24 +03:00 |
|
Alexey Andreev
|
06e8f7b328
|
JS: don't report error when FAKE function overrides external function with optional parameters. Report only when it overrides at least two such functions. See KT-15961
|
2017-01-30 17:26:07 +03:00 |
|
Anton Bannykh
|
77aa685496
|
JS: char boxing
|
2017-01-30 16:31:44 +03:00 |
|
Alexander Udalov
|
167155388d
|
Rename JsBinaryVersion -> JsMetadataVersion
For consistency with JvmMetadataVersion
|
2017-01-30 16:05:46 +03:00 |
|
Alexander Udalov
|
e5680565b3
|
JS: drop "-kjsm" flag, merge logic with "-meta-info"
#KT-16049 Fixed
|
2017-01-30 11:31:03 +03:00 |
|
Alexander Udalov
|
ef42e3e4aa
|
JS: write full version (major.minor.patch) to .meta.js
|
2017-01-30 11:31:02 +03:00 |
|
Alexey Andreev
|
31c758994d
|
JS: remove diagnostic about callable reference to built-in
|
2017-01-25 18:09:22 +03:00 |
|
Alexey Andreev
|
ad4fb44827
|
JS: report about using of external interfaces in class literals
|
2017-01-25 18:09:22 +03:00 |
|
Alexey Andreev
|
deaac83e70
|
JS: report about wrong module usage in class literals. See KT-15253
|
2017-01-25 18:09:21 +03:00 |
|
Alexey Andreev
|
9000d54d8a
|
JS: when checking calls to JsModule declarations, check arguments passed to reified type parameters. See KT-15253
|
2017-01-25 18:09:20 +03:00 |
|
Alexey Andreev
|
8cbea903f4
|
JS: add checker that checks if JsQualifier has wrong format
|
2017-01-25 13:52:19 +03:00 |
|
Alexey Andreev
|
ba65e58fdd
|
JS: add checker to detect non-external declarations in files marked by JsModule or JsQualifier annotation
|
2017-01-25 13:52:19 +03:00 |
|
Alexey Andreev
|
cc67f6c9f7
|
JS: add support of JsQualifier annotation. See KT-15905
|
2017-01-25 13:52:18 +03:00 |
|
Alexey Andreev
|
51e5b5aac7
|
JS: allow to inherit external class from kotlin.Throwable. See KT-15336
|
2017-01-25 13:51:53 +03:00 |
|
Anton Bannykh
|
847ec9e550
|
JS: fixed subSequence in CharSequence descendants (KT-14035) + added support for function intrics in delegation
|
2017-01-25 12:59:53 +03:00 |
|
Alexey Andreev
|
26abc19aa6
|
JS: replace noImpl with definedExternally in diagnostics and their messages
|
2017-01-24 20:14:32 +03:00 |
|
Alexey Andreev
|
71a5d8a4ee
|
JS: add definedExternally property as a replacement for noImpl, support it in checkers. See KT-15144
|
2017-01-24 20:14:31 +03:00 |
|
Alexey Andreev
|
2ae46ceb4b
|
JS: change how signature for mangling is generated, taking into account more information. See KT-15285
|
2017-01-24 20:10:17 +03:00 |
|
Alexey Andreev
|
1b0648a926
|
JS: refactor generation of property callable references
|
2017-01-24 20:09:29 +03:00 |
|
Alexey Andreev
|
bc0550d7b7
|
JS: don't report about inline modifier on inline extension fun to external class
|
2017-01-24 12:27:02 +03:00 |
|
Sergey Mashkov
|
98075c17c9
|
kotlin-test: extract from JS library, convert to multiplatform
|
2017-01-23 15:43:02 +03:00 |
|
Alexey Andreev
|
245f23e7c2
|
JS: fix translation of references to external nested classes in files marked with @JsModule. See KT-15797
|
2017-01-19 16:30:57 +03:00 |
|
Alexey Andreev
|
daac24b62e
|
JS: prohibit referencing noImpl property from non-external declarations. See KT-15306
|
2017-01-19 13:09:06 +03:00 |
|
Alexey Andreev
|
199790276b
|
JS: prohibit dynamic values as handlers of property delegates. Prohibit delegation of classes by dynamic values. See KT-15283
|
2017-01-19 13:07:58 +03:00 |
|
Alexey Andreev
|
a4b2abc7d5
|
JS: prohibit spread operator and destructuring declaration in dynamic values. See KT-15283
|
2017-01-19 13:07:57 +03:00 |
|
Alexey Andreev
|
31d0e0b7c4
|
JS: prohibit .. operation on dynamic type. See KT-15184
|
2017-01-19 13:07:56 +03:00 |
|
Denis Zharkov
|
a048dde7a5
|
Support non-tail suspend calls in front-end
#KT-15597 In Progress
|
2017-01-14 13:24:53 +03:00 |
|
Mikhail Glukhikh
|
c09a71b178
|
Multi-platform refactoring: get rid of PlatformKind (replace with MultiTargetPlatform)
|
2017-01-12 18:58:13 +03:00 |
|
Zalim Bashorov
|
316da8331f
|
KJS: relocate com.google.dart.compiler -> org.jetbrains.kotlin
|
2017-01-09 17:14:19 +03:00 |
|
Zalim Bashorov
|
cb4c3ed686
|
KJS: rename "js.dart-ast" module to "js.ast"
|
2017-01-09 17:13:23 +03:00 |
|
Alexey Andreev
|
900adcf29b
|
JS: prohibit stable (public) names with non-identifier chars. Rewrite unstable (private) names with non-identifier chars. See KT-4160
|
2016-12-30 16:21:18 +03:00 |
|
Alexey Andreev
|
27c2a4f6a8
|
JS: disable mangling for PublishedApi. Export declarations marked with PublishedApi. See KT-15442
|
2016-12-29 16:00:51 +03:00 |
|
Alexey Andreev
|
ed7ac7cea9
|
JS: do not report declaration clash when common redeclaration diagnostic applies. See KT-14577
|
2016-12-29 16:00:36 +03:00 |
|
Alexey Andreev
|
79ba6a57d6
|
JS: report errors on different external items:
* data classes
* val/var parameters of primary constructors
* enum entry with body
* anonymous `init {}` block in classes
|
2016-12-29 16:00:35 +03:00 |
|
Alexey Andreev
|
03682ee849
|
JS: fix how module checker handles super classes
|
2016-12-29 16:00:34 +03:00 |
|
Alexey Andreev
|
1a7e8b0690
|
JS: allow to omit delegated constructor call for external classes in common FE. Prohibit delegated constructor call for external classes in JS FE.
|
2016-12-29 16:00:33 +03:00 |
|
Alexey Andreev
|
02ea1a4d64
|
JS: split error diagnostic about body of external declaration into three different diagnostics (additional ones: wrong initializer, wrong default value of parameter).
|
2016-12-29 16:00:32 +03:00 |
|
Alexey Andreev
|
6ef4a3389e
|
JS: prohibit external functions and accessors with bodies other than noImpl. Prohibit to use anything except noImpl for default parameters initializers in external functions. See KT-13892
|
2016-12-29 16:00:30 +03:00 |
|
Alexey Andreev
|
55d4c0e439
|
JS: prohibit non-abstract members of external interfaces, except for nullable properties. See KT-15308
|
2016-12-29 16:00:30 +03:00 |
|
Alexey Andreev
|
403753f5b5
|
JS: prohibit inline external declarations. See KT-15307
|
2016-12-29 16:00:29 +03:00 |
|
Alexey Andreev
|
84f094c770
|
JS: prohibit to implement functional interfaces. See KT-15136
|
2016-12-29 16:00:29 +03:00 |
|
Dmitry Petrov
|
8d16bd1215
|
Method can be hidden if it is annotated with kotlin.internal.PlatformDependent,
or is a Java method from a Kotlin built-in class (transitively).
https://github.com/Kotlin/KEEP/blob/master/proposals/jdk-dependent-built-ins.md#backward-compatibility-of-overrides
|
2016-12-23 13:51:08 +03:00 |
|
Alexey Andreev
|
22ff7c6c45
|
JS: when translating content of js() function, rename all free references if they point to Kotlin local variable with the same name. See KT-15212
|
2016-12-17 12:12:36 +03:00 |
|
Alexey Andreev
|
b08afb0e93
|
JS: prohibit overriding external functions with optional parameters by non-external fake functions
|
2016-12-15 19:05:32 +03:00 |
|
Alexey Andreev
|
e2dab5ab5c
|
JS: prohibit overriding external functions with optional parameters by non-external functions. See KT-13889
|
2016-12-15 19:05:32 +03:00 |
|
Alexey Tsvetkov
|
d1156211a8
|
Make JS header/impl name clash checks independent of sources order
If an impl source was placed before a header in a sources list,
the JS_NAME_CLASH error would be reported.
|
2016-12-15 16:43:35 +03:00 |
|
Mikhael Bogdanov
|
268d55104c
|
Don't generate delegation to java default methods
#KT-15226 Fixed
|
2016-12-14 11:20:04 +01:00 |
|
Stanislav Erokhin
|
653d589f98
|
FIx tests after renaming platform to header.
|
2016-12-13 23:08:47 +03:00 |
|
Mikhail Glukhikh
|
57da92b862
|
Infrastructure change: module descriptor now knows its platform kind & its sources kind
|
2016-12-13 18:53:55 +03:00 |
|