Mikhail Glukhikh
31a8689999
Do not count 'impl' or 'header' with implementations as unused #KT-15305 Fixed
2017-01-11 18:37:55 +03:00
Mikhail Glukhikh
586246002c
Create header implementation fix: do not use Swing inside write action
2017-01-11 18:37:50 +03:00
Mikhail Glukhikh
b0a333456e
Platform header IDE annotation: do not report suppressed error #KT-15601 Fixed
2017-01-11 18:37:44 +03:00
Mikhail Glukhikh
76ee6d7712
Minor: multi-platform highlighting tests rename
2017-01-11 18:37:38 +03:00
Sergey Mashkov
892e36412d
IDL2K: KT-15436 js stdlib: org.w3c.fetch.RequestInit has 12 parameters, all required
2017-01-11 18:07:47 +03:00
Sergey Mashkov
099cd819f7
IDL2K: KT-15436 js stdlib: org.w3c.fetch.RequestInit has 12 parameters, all required
2017-01-11 18:07:46 +03:00
Ilya Gorbunov
4816474d70
Hold back eachSumOf for a while.
2017-01-11 16:49:45 +03:00
Ilya Gorbunov
0dfcbdf072
Improve docs, use consistent naming for parameters, rename unused parameters of lambdas to _.
2017-01-11 16:49:45 +03:00
Ilya Gorbunov
04a0f0a036
Rename Grouping.elementIterator to sourceIterator
2017-01-11 16:49:45 +03:00
Ilya Gorbunov
6d3a71c691
Minor refactoring: use mapValuesInPlace optimization, delegate aggregate implementation to aggregateTo.
2017-01-11 16:49:45 +03:00
Ilya Gorbunov
d73744f1c0
Tests for group-and-fold operations
2017-01-11 16:49:45 +03:00
Ilya Gorbunov
2a2b417025
KEEP-23 implement group and fold operations
...
Docs for group-and-fold operations
Fix implementation for countEach and sumEachBy
countEach and sumEachBy implementations for JS
Rename keySelector to keyOf
Generate additional sources for groupingBy + headers
Rename countEach and sumEachBy to eachCount and eachSumOf.
2017-01-11 16:49:45 +03:00
Mikhail Glukhikh
43a4035390
Clearer diagnostic message for platform type inspection #KT-14630 Fixed
2017-01-11 16:24:10 +03:00
Ilya Gorbunov
3bf38e62c8
Add a note about NaN propagation for floating point specializations.
2017-01-11 14:45:21 +03:00
Ilya Gorbunov
897e9658ac
Do not run total order tests on JS
2017-01-11 14:45:19 +03:00
Ilya Gorbunov
0bf2ba8701
Introduce new overloads of max and min to fix NaN propagation behavior on JVM.
2017-01-11 14:45:18 +03:00
Ilya Gorbunov
74331f8eaa
Add NaN propagation and total ordering tests.
2017-01-11 14:45:16 +03:00
Ilya Gorbunov
6041a7d6c8
Add tests for normal cases of maxOf/minOf
2017-01-11 14:45:14 +03:00
Ilya Gorbunov
eb07d9407d
Unexpected appearance of minOf/maxOf for T: Comparable<T> in smart completion tests
2017-01-11 14:42:36 +03:00
Ilya Gorbunov
18245c5b73
Expected appearance of minOf/maxOf for T: Comparable<T> in one of smart completion tests
2017-01-11 14:42:36 +03:00
Ilya Gorbunov
844c68286a
Refactor: replace Math.min with minOf in common code.
...
Add temporary import of kotlin.comparisons where required.
2017-01-11 14:42:36 +03:00
Ilya Gorbunov
51c24a0c3c
Introduce minOf/maxOf in kotlin.comparisons. #KT-7417
2017-01-11 14:42:36 +03:00
Ilya Gorbunov
35d433160e
Move more logic of 'use' into 'closeSuppressed', rename the latter to 'closeFinally', that will result in more compact inline call expansions.
2017-01-11 14:35:38 +03:00
Ilya Gorbunov
a71b68268d
Refactor exception suppression to provide Throwable.addSuppressed extension in kotlin-stdlib.
...
Place Closeable and AutoCloseable extensions to separate files (CloseableKt and AutoCloseableKt).
#KT-15477 Fixed
2017-01-11 14:35:38 +03:00
Ilya Gorbunov
dcd7f3eb57
Fix test data after introducing overloads #KT-15630
2017-01-11 14:33:17 +03:00
Ilya Gorbunov
076a94f7f2
Provide parameterless mutable collection factory functions.
...
#KT-15630
2017-01-11 14:33:17 +03:00
Mikhael Bogdanov
ec42b58877
Fix @PublishedApi checking
2017-01-11 11:50:34 +01:00
Mikhael Bogdanov
2931c316a3
Fix for KT-15575: VerifyError: Bad type on operand stack
...
#KT-15575 Fixed
2017-01-11 11:50:33 +01:00
Alexander Udalov
a3f6fbe0c1
Add test on contents of .kotlin_module files
2017-01-11 13:15:59 +03:00
Alexander Udalov
7b5c90ebaf
Correctly load multifile package parts from binaries
...
JvmPackagePartProvider should not just blindly load all multifile parts from
all libraries on the classpath, but only those from multifile classes which
shadow (come earlier on the classpath) other classes with the same name.
Otherwise if you have different versions of the same library (which uses
multifile classes) on the classpath, the compiler will see parts from both
versions. If some declaration have moved from one part to another, it's
possible to observe an overload resolution ambiguity error
#KT-15287 Fixed
2017-01-11 13:15:58 +03:00
Alexander Udalov
69bfc5b4bb
Write multifile part->facade mapping to .kotlin_module
2017-01-11 13:15:57 +03:00
Alexander Udalov
6c1cadf273
Refactor PackageParts: add explicit mutating methods
2017-01-11 13:15:57 +03:00
Alexander Udalov
db3fa8eaca
Refactor JvmPackagePartProvider
...
Make code more imperative than functional, preserve the information about the
original root where the module mapping was discovered
2017-01-11 13:15:56 +03:00
Alexander Udalov
0dbb02ec6a
Fix generic signature for KFunctionN types on JVM
...
#KT-15473 Fixed
2017-01-11 13:15:24 +03:00
Svyatoslav Scherbina
bf3b5281a9
ir.tree: add trivial building utils
2017-01-11 14:54:13 +07:00
Svyatoslav Scherbina
d0a166ffec
psi2ir: move IR building utils to ir.tree
2017-01-11 14:54:12 +07:00
Svyatoslav Scherbina
feb0dee563
psi2ir: untie IR building utils from PSI
2017-01-11 14:54:11 +07:00
Svyatoslav Scherbina
4c3fb9a21f
psi2ir: improve backing field usage generation
...
Also update corresponding tests data.
2017-01-11 14:54:10 +07:00
Svyatoslav Scherbina
0189faec2e
ir.tree: fix IrTry.transformChildren:
...
transform `finallyExpression` too.
2017-01-11 14:54:09 +07:00
Dmitry Petrov
7a8ec86cb9
KT-11398
...
- turn INACCESSIBLE_TYPE into a warning;
- improve diagnostic message for INACCESSIBLE_TYPE.
2017-01-11 10:23:01 +03:00
Nikolay Krasko
80af30fb4f
Always remove extension from script file
...
Fix for 35631dc2df refactoring.
Extension was actually always removed before refactoring.
2017-01-11 00:39:16 +03:00
Alexey Sedunov
e89ffbf916
Convert Property to Function: Wrap usage search in read action (EA-1280778)
2017-01-10 21:16:14 +03:00
Alexey Sedunov
23ec8f0813
Quick Fixes: Implement "Create label" quick fix
...
#KT-8855 Fixed
2017-01-10 21:16:13 +03:00
Alexey Sedunov
534a773816
Intentions: Implement intention which converts object literal to class
...
#KT-15056 Fixed
2017-01-10 21:16:12 +03:00
Alexey Sedunov
7def536751
Project View: Fix presentation of Kotlin files and their members when @JvmName having the same name as the file itself
2017-01-10 21:16:11 +03:00
Alexey Sedunov
612dffb893
Highlighting: Add line markers for suspend function calls in coroutines
...
#KT-14689 Fixed
2017-01-10 21:16:10 +03:00
Alexey Sedunov
9e79293a12
Quick Fixes: Implement quickfix which enables/disables coroutine support in module or project
2017-01-10 21:16:09 +03:00
Alexey Sedunov
6b57a3e338
Intentions: Implement intention which rename file according to the top-level class name
...
#KT-15068 Fixed
2017-01-10 21:16:08 +03:00
Alexey Sedunov
c7aefa2842
Quick Fixes: Implement quick-fix for increasing module language level to enable unsupported language features
...
#KT-15205 Fixed
2017-01-10 21:16:07 +03:00
Sergey Mashkov
e647f56124
Maven: multiplatform integration test
2017-01-10 19:55:05 +03:00