Alexander Udalov
7046f63511
Move/inline stuff from TypeUtils to other modules
2015-10-29 21:16:07 +03:00
Alexander Udalov
5677ff60e7
Move/inline stuff from DescriptorUtils to other modules
2015-10-29 21:16:06 +03:00
Alexander Udalov
05f9f5a661
Drop path() from FQ names, remove weird code from FqNameUnsafe
2015-10-28 19:11:53 +03:00
Mikhail Glukhikh
f8a70302ac
Cleanup: get rid of effective visibility warnings
2015-10-28 14:31:51 +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
Mikhail Glukhikh
d6988ad69e
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
2015-10-21 16:36:55 +03:00
Dmitry Jemerov
d6a3870101
rename Kt to Kotlin in KtType, KtIcons
2015-10-20 16:23:31 +02:00
Dmitry Jemerov
49033e0002
rename Jet* classes to Kt*
2015-10-19 21:35:30 +02:00
Alexey Tsvetkov
c459e78a7d
Prohibit inline modifier on property, getter or setter
2015-10-19 20:45:02 +03:00
Alexey Tsvetkov
df8066b1e4
Drop annotations from stdlib and compiler
2015-10-19 20:45:01 +03:00
Alexey Tsvetkov
ec57d3f144
Remove @data from stdlib and compiler
2015-10-19 20:45:00 +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
efa285bc30
ExpressionDecomposer: non-nullable upper bound of R, since supertype expects R to be non-null.
2015-10-16 23:38:20 +03:00
Svetlana Isakova
25b40455ad
Serialize/deserialize annotations on type parameters
2015-10-16 21:58:47 +03:00
Ilya Gorbunov
59f88cfb52
Ensure vararg copy behavior for specific case of arrayListOf in JS.
2015-10-16 18:43:41 +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
Dmitry Petrov
d3e2dd5942
Dropping package facades: drop package facades not cleaned up automatically
2015-10-16 13:53:23 +03:00
Alexander Udalov
f62128bdcd
Fix protobuf extension API usages
...
"getExtension" returns default value when the requested extension is not
present, which is 0 for Int, which makes no sense for extensions like
methodImplClassName that are storing the number in the string table
2015-10-15 22:36:22 +03:00
Yan Zhulanow
d52f245cf7
Rename unary plus/minus in builtins and stdlib
2015-10-15 18:23:58 +03:00
Yan Zhulanow
f7ce0c2d20
Add new intrinsic methods: unaryPlus, unaryMinus
2015-10-15 18:23:58 +03:00
Dmitry Petrov
8cd624a58a
Drop package facades: code cleanup in Kotlin project.
2015-10-15 10:33:47 +03:00
Ilya Gorbunov
43bb9347c6
Rename Regex.hasMatch to containsMatchIn, and add corresponding contains function to CharSequence.
2015-10-14 22:49:50 +03:00
Ilya Gorbunov
d1d865aa0f
Rename methods in Regex. Add matchEntire method to match entire string against regex.
2015-10-14 22:49:48 +03:00
Ilya Gorbunov
d860f335a3
JS: Make StringBuilder implement CharSequence and introduce secondary constructors.
2015-10-14 22:49:47 +03:00
Michael Nedzelsky
57205f5721
drop BASE_WITH_NULLABLE_UPPER_BOUND
2015-10-14 20:51:01 +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
Alexander Udalov
ec1b4776fe
Deprecate PropertyMetadata, use KProperty<*> for delegated properties instead
2015-10-14 20:45:25 +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
Mikhail Glukhikh
78cfeb0d7d
Stdlib rename: List.indexOf(T), List.lastIndexOf(T), MutableCollection.removeAll(Collection<T>), MutableCollection.retainAll(Collection<T>)
2015-10-14 20:40:09 +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
Denis Zharkov
6fa8083a70
Transform builtin Map declaration and adjust stdlib
2015-10-14 20:39:38 +03:00
Denis Zharkov
cb562e7ea5
Adjust JS backend to CharSequence.length transformation
2015-10-14 20:39:32 +03:00
Yan Zhulanow
f9e89596fd
Add 'operator' modifier to stdlib property Delegate functions
2015-10-14 19:10:36 +03:00
Ilya Gorbunov
6d7cc0671e
Allow equals with ignoreCase parameter to take nullable Strings both as a receiver and a parameter.
...
#KT-9188
2015-10-14 18:19:56 +03:00
Michael Nedzelsky
d05a7224c7
add check for escaped identifiers
2015-10-14 16:57:06 +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
Pavel V. Talanov
3468e83671
Drop ID property which would be unsupported
2015-10-14 13:42:11 +03:00
Pavel V. Talanov
2e75f7f103
Js stdlib: noImpl property has 'Nothing' type
2015-10-14 13:41:56 +03:00
Yan Zhulanow
bc3d1ddda0
Remove old 'get' delegate convention in interfaces
2015-10-14 01:29:09 +03:00
Ilya Gorbunov
2cdd413590
StdLib generators: Add some infix extensions for DSL, remove unneeded import, simplify declarations.
2015-10-13 22:23:13 +03:00