Stanislav Erokhin
e8a697cb6d
Removed methods about synthetic from ImportingScope.
2015-12-18 22:49:24 +03:00
Stanislav Erokhin
fe9cbd982d
Extract SyntheticScopes to injection component
2015-12-18 22:49:23 +03:00
Sergey Mashkov
3b08e5e547
kotlin-test: rename projects to eliminate possible mess
2015-12-18 22:17:48 +03:00
Sergey Mashkov
a97e623d04
kotlin-test: binary compatibility for fail function
2015-12-18 22:17:48 +03:00
Sergey Mashkov
f21b6a4777
Ant task to copy dist as a bootstrap compiler
2015-12-18 22:17:47 +03:00
Sergey Mashkov
fe4f51617c
Add kotlin.test dependency to kotlin-compiler-embeddable
2015-12-18 22:17:47 +03:00
Sergey Mashkov
790524e391
Add library kotlin-test to IDEA project
2015-12-18 22:17:47 +03:00
Sergey Mashkov
f1783530ac
Replace test assertions in the prod code with require
2015-12-18 22:17:47 +03:00
Sergey Mashkov
e25d31618c
Fix tests
2015-12-18 22:16:04 +03:00
Sergey Mashkov
b57d2ff702
Add kotlin.test library to build distribution and provide for tests
2015-12-18 22:16:04 +03:00
Sergey Mashkov
7aae2bd452
kotlin-test: Remove javaClass as is in runtime now
2015-12-18 22:16:04 +03:00
Sergey Mashkov
a5b098c4a7
kotlin.test: Rename jvm module to junit
2015-12-18 22:16:04 +03:00
Sergey Mashkov
149ce70ce2
Move testing from stdlib to js.stdlib
2015-12-18 22:16:04 +03:00
Sergey Mashkov
1867abbbe7
Add kotlin.test library
2015-12-18 22:16:04 +03:00
Sergey Mashkov
dd36ef5712
Remove kunit
2015-12-18 22:16:04 +03:00
Andrey Breslav
6155d836a5
'async' reserved in front of function literals
2015-12-18 21:20:54 +03:00
Andrey Breslav
75ab0dd509
'sealed' reserved in front of when
2015-12-18 21:20:54 +03:00
Andrey Breslav
c36eeadab1
Minor. Constant used instead of constructor
2015-12-18 21:20:54 +03:00
Dmitry Petrov
09f53ea0bb
Select most specific overloaded function/property by explicitly used arguments only.
...
Major rewrite of OverloadingConflictResolver.
2015-12-18 18:30:16 +03:00
Dmitry Petrov
52f0e0bc93
J2K: OverloadingConflictResolver.kt - convert to Kotlin
2015-12-18 18:30:16 +03:00
Dmitry Petrov
ca6153e8f1
J2K: OverloadingConflictResolver.kt
2015-12-18 18:30:16 +03:00
Ilya Gorbunov
03816373b3
Primitive array constructor-like functions with init lambda.
...
#KT-8831
Update testData and resolve ambiguity in newArray test
2015-12-18 17:54:09 +03:00
Natalia Ukhorskaya
513c4a4562
J2K: transform loops with double, float and char range with while
...
#KT-899 Fixed
2015-12-18 16:14:17 +03:00
Natalia Ukhorskaya
ecdef71580
J2K: cast right operand of equals for primitive types to left operand type
...
#KT-9997 Fixed
2015-12-18 16:14:16 +03:00
Natalia Ukhorskaya
1d787ed222
J2K: Insert initializer type for properties with primitive type if necessary
2015-12-18 16:14:15 +03:00
Ilya Gorbunov
188119aa83
Prepare to treat keys mapped to null same way as missing keys in Map extensions: getOrElse, getOrPut, getOrImplicitDefault.
2015-12-18 15:24:03 +03:00
Stanislav Erokhin
8b5a194dd6
Do not discriminate synthesized candidates.
...
#KT-9965 Fixed
2015-12-18 15:08:19 +03:00
Stanislav Erokhin
1b6f96ac2b
Minor. update diagnostics/ReadMe.md
2015-12-18 15:08:18 +03:00
Alexey Sedunov
2fb3c727a7
Misc: Cleanup "org.jetbrains.kotlin.idea.intentions" package
2015-12-18 15:05:48 +03:00
Alexey Sedunov
3fca8f765c
Misc: Cleanup "org.jetbrains.kotlin.idea.quickfix" package
2015-12-18 15:05:46 +03:00
Alexey Sedunov
ad55c8fb96
Misc: Cleanup "org.jetbrains.kotlin.idea.refactoring" package
2015-12-18 15:05:43 +03:00
Alexey Sedunov
f745f27694
Change Signature: Check syntactic validity of types. Warn about unresolved types
2015-12-18 15:05:40 +03:00
Alexey Sedunov
784b250de8
Change Signature: Fix rendering of unresolved types in overriding members
2015-12-18 15:05:39 +03:00
Alexey Sedunov
05ec9cc424
Initialize Property in Constructor Quick-Fix: Disable clearing of ShortenReferences waiting set
2015-12-18 15:05:37 +03:00
Alexey Sedunov
fd79145b73
Change Signature: Represent parameter/receiver types using KotlinTypeInfo
2015-12-18 15:05:36 +03:00
Alexey Sedunov
e558581667
Change Signature: Represent return type using KotlinTypeInfo
2015-12-18 15:05:34 +03:00
Alexey Sedunov
24951e8a38
J2K: KtTypeCodeFragment.java
2015-12-18 15:05:33 +03:00
Alexey Sedunov
6fe48243c7
J2K: KtTypeCodeFragment.java (rename to .kt)
2015-12-18 15:05:31 +03:00
Alexey Sedunov
594ad27952
Change Signature: Implement proper resolution of type code fragments
...
#KT-9210 Fixed
2015-12-18 15:05:29 +03:00
Alexey Sedunov
cfe1c44260
Introduce Variable: Add type argument to initializer if they can't be inferred from the context
...
#KT-5466 Fixed
2015-12-18 15:05:27 +03:00
Alexey Sedunov
ea8da18338
Inline Variable: Highlight usages in current file even if the variable is used in other files
2015-12-18 15:05:24 +03:00
Alexey Sedunov
4e36edb5d6
Inline Variable: Remove invalid imports and perform reference lengthening/shortening when inlining non-local declaration
...
#KT-8884 Fixed
2015-12-18 15:05:23 +03:00
Michael Bogdanov
44bdac6e11
Added file name to exception on indexing file mappings
2015-12-18 14:25:46 +03:00
Ilya Gorbunov
055c71e8d0
Provide minWith and maxWith to find maximum and minimum values according to the given comparator.
...
#KT-9002 Fixed
2015-12-18 00:00:52 +03:00
Ilya Gorbunov
b5e637bed5
Rename toMap with selector and transform to toMapBy
2015-12-17 22:50:44 +03:00
Ilya Gorbunov
544bc9a70c
Introduce toMap with key-value pair selector.
...
#KT-6657
2015-12-17 22:50:43 +03:00
Ilya Gorbunov
2966420d24
Harden deprecation level for synchronized helper functions.
...
Make migration helper classes deprecated-hidden, although it doesn't affect anything.
2015-12-17 22:48:13 +03:00
Stanislav Erokhin
7521b89b3e
Resolve unaryPlus as plus with error.
2015-12-17 20:21:01 +03:00
Denis Zharkov
1a6f9b8d1c
Do not build inner type for error classes
...
#KT-10409 Fixed
2015-12-17 19:56:38 +03:00
Denis Zharkov
0d7c8635b3
Refine INSTANCE_ACCESS_BEFORE_SUPER_CALL check
...
- Detect usages of unitialized `this` as extension receiver argument
- Make it work within object literal created before super call
#KT-9120 Fixed
#KT-8289 Fixed
2015-12-17 19:56:38 +03:00