Sergey Mashkov
29973d714e
Remove DOM utilities, put temporary to JS to keep compatibility
2015-11-05 14:41:28 +01:00
Ilya Gorbunov
5373c380ac
Remove obsolete extensions conflicting with stdlib
2015-11-04 22:19:46 +03:00
Stanislav Erokhin
553834fa9e
KT-9371 Callable reference resolve should not prefer one of the overloads by some magic reasons
...
#KT-9371 Fixed
2015-10-27 15:36:37 +03:00
Alexey Tsvetkov
294559a94f
Overridable val should not be treated as constant
...
#KT-9443 fixed
2015-10-26 19:23:09 +03:00
Svetlana Isakova
06e90cf6a1
Annotated the return type of 'elvis' function with @Exact
...
fun <T> ELVIS(T?, T): @Exact T
2015-10-22 21:55:12 +03:00
Alexey Tsvetkov
c459e78a7d
Prohibit inline modifier on property, getter or setter
2015-10-19 20:45:02 +03:00
Mikhail Glukhikh
14e38ff6d4
data deprecations cleanup: reserved word tests fixed
2015-10-19 15:24:36 +03:00
Mikhail Glukhikh
a4af6a3076
data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed
2015-10-19 15:24:28 +03:00
Yan Zhulanow
e14c9645dc
Error on 'if' without an 'else' branch when used as an expression
2015-10-19 03:56:15 +03:00
Zalim Bashorov
de5dc61820
Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error
2015-10-18 22:49:08 +03:00
Stanislav Erokhin
7d7d37719b
Forbidden old invokeExtension convention.
2015-10-17 14:45:53 +03:00
Ilya Gorbunov
446cdc087d
Optimizations in listOf and arrayListOf constructor functions.
...
Remove linkedListOf() from JS.
#KT-5703 Fixed
#KT-8519 Fixed
2015-10-16 18:28:43 +03:00
Denis Zharkov
bd37a10677
Transform *Array.size to properties
2015-10-16 18:16:02 +03:00
Yan Zhulanow
d52f245cf7
Rename unary plus/minus in builtins and stdlib
2015-10-15 18:23:58 +03:00
Ilya Gorbunov
d860f335a3
JS: Make StringBuilder implement CharSequence and introduce secondary constructors.
2015-10-14 22:49:47 +03:00
Alexander Udalov
ced1edcf98
Prohibit callable references to object members
...
To be able to make them more useful in the future, i.e. bound to the object
instance
2015-10-14 20:45:56 +03:00
Alexander Udalov
51bf68ce27
Update compiler tests to use KProperty instead of PropertyMetadata
2015-10-14 20:45:54 +03:00
Mikhail Glukhikh
f8a356747e
Stdlib rename: 'name' and 'ordinal' are now properties in Enum, same name functions are deprecated
2015-10-14 20:40:13 +03:00
Denis Zharkov
6322198a11
Revert 'isEmpty' transformation
2015-10-14 20:40:01 +03:00
Denis Zharkov
17c906658d
Transform Throwable members to properties
2015-10-14 20:39:59 +03:00
Denis Zharkov
a6dfa53d77
Adjust JS stdlib maps to changes in builtins
2015-10-14 20:39:43 +03:00
Pavel V. Talanov
47cca7db1f
Test data: adjust test data after prohibiting properties with typeparameters not used in receiver
2015-10-14 13:42:13 +03:00
Dmitry Petrov
7e9e427d4c
Java 8 rules for method overrides:
...
- report errors on implementing methods of Any in interfaces
- update testData
~~~
Java 8 override restrictions: interface can't implement a method of 'Any'
- update compiler sources
2015-10-12 14:12:31 +03:00
Mikhail Glukhikh
64543e3f52
Implicit Nothing return type is now deprecated
2015-10-12 13:30:16 +03:00
Dmitry Jemerov
1523d5bcbf
removing static type assertions work in progress
2015-10-12 11:11:23 +02:00
Denis Zharkov
a76a8fcc3f
Adjust various testData to remove/charAt transformation
2015-10-11 19:59:31 +03:00
Denis Zharkov
1c7fa42b86
Adjust js codegen and lib to 'charAt' -> 'get' transformation
2015-10-11 19:59:30 +03:00
Denis Zharkov
83b680935b
Adjust js stdlib to isEmpty transformation
2015-10-10 12:29:14 +03:00
Yan Zhulanow
1f2b4e20fe
Replace get() and set() to getValue() and setValue() (property delegates)
2015-10-09 22:49:16 +03:00
Mikhail Glukhikh
d1ab5168ec
Error messages about "var with open / custom setter initialization" changed accordingly with the new backing field syntax
2015-10-09 21:06:29 +03:00
Mikhail Glukhikh
6914d09297
Old backing field with dollar is now forbidden
2015-10-09 21:06:26 +03:00
Denis Zharkov
e9cd9db2a7
Adjust testData after contains transformation
2015-10-09 14:40:34 +03:00
Ilya Gorbunov
352ac58ba5
Fix testData/js: replace deprecated usages: times, sortBy, reverse, splitBy.
2015-10-07 22:36:48 +03:00
Mikhail Glukhikh
cba6870f52
protected & internal are now forbidden in interfaces
2015-10-07 11:57:14 +03:00
Denis Zharkov
a0e9754edc
Adjust js collections to size transformation
2015-10-07 08:46:33 +03:00
Alexander Udalov
659826d5c3
Update reservedWords JS tests after changes to callable references
2015-10-03 04:37:05 +03:00
Alexander Udalov
661f4efc68
Forbid callable references to members and extensions with empty LHS
...
This syntax is reserved to be likely used in the future as a shorthand for
"this::foo" where the resulting expression doesn't take the receiver as a
parameter but has "this" already bound to it
2015-10-03 04:37:04 +03:00
Denis Zharkov
73799e2c3c
Replace deprecated lambda syntax in testData
...
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Zalim Bashorov
967c8eae2e
Minor: fix testdata files which were accidentally reformatted
2015-09-23 18:18:08 +03:00
Denis Zharkov
098f5462eb
Drop inlineOptions and fix forgotten usages
2015-09-23 12:18:12 +03:00
Zalim Bashorov
98867addc9
Regenerate tests for JS reserved words
2015-09-22 15:00:38 +02:00
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02:00
Mikhail Glukhikh
a1e3471d92
"field": deprecated warnings introduced, compiler tests migrated to the new syntax
2015-09-21 15:48:00 +03:00
Mikhail Glukhikh
028e0ec59a
"field": JS translation
2015-09-21 15:47:57 +03:00
Ilya Gorbunov
0e3e33e5c1
Fix deprecations in testData: js semantics.
2015-09-19 05:04:05 +03:00
Stanislav Erokhin
fb14979051
Created object java.util.Collections as workaround for js-stdlib.
2015-09-18 21:00:15 +03:00
Denis Zharkov
9dada595b6
Replace deprecated annotations with modifiers in testData
2015-09-18 10:14:41 +03:00
Denis Zharkov
e401a98a2b
Replace native with @native in js testData
2015-09-18 10:14:34 +03:00
Denis Zharkov
9adde77c47
Replace inlineOption(ONLY_LOCAL_RETURN) with crossinline in testData
2015-09-18 10:14:33 +03:00
Ilya Gorbunov
4f9e2c24d1
Exclude common file asserts.kt from tests using StdLib, as its methods conflict with kotlin.test.* methods.
2015-09-08 10:26:54 +03:00