Vyacheslav Gerasimov
683ed4eb95
Build: Add asm-7 sources
...
#KT-29044 Fixed
2018-12-28 21:18:33 +03:00
Vyacheslav Gerasimov
ad85707a2d
Build: move buildscripts & versions from root directory to ./gradle
...
javaInstrumentation.gradle.kts
report.gradle.kts
versions.gradle.kts
and all versions.properties
2018-12-28 21:18:33 +03:00
Nikita Katkov
4db9174b4d
Error on calling suspend functions inside Lock.withLock body
...
See SuspensionPointInsideCriticalSectionChecker
2018-12-28 19:56:26 +03:00
Ilmir Usmanov
1d52fb2e26
Fix test data
2018-12-28 19:51:59 +03:00
Vyacheslav Gerasimov
343560c533
181: Fix QuickFixTestGenerated$TypeMismatch.testParamTypeLambdaMismatch
2018-12-28 19:01:39 +03:00
Nicolay Mitropolsky
19108d8821
InterpolatedStringInjectorProcessor in functional-style
2018-12-28 15:12:54 +03:00
Ilmir Usmanov
8a01da6ec6
Support val initialization in non-inline function with EXACTLY_ONCE effect
...
by generating a box for the value.
#KT-26126 Fixed
2018-12-28 15:09:11 +03:00
Ilmir Usmanov
a52f430d8f
Put default value (null or zero) to slot for uninitialized values
...
This way range of the variable is correct in LVT.
#KT-24672 Fixed
2018-12-28 15:09:07 +03:00
Alexander Udalov
8ab9226805
Fix loading default Java annotation values in actual typealias from binary classes
...
#KT-22704 Fixed
2018-12-28 13:02:15 +01:00
Alexander Udalov
3fee84b966
Use fast .class file reading implementation in boxAgainstJava tests
...
Since these tests compile Kotlin code against compiled Java code, it's
only reasonable to use the same .class file reading implementation as is
used in production for the same purpose
2018-12-28 12:53:10 +01:00
Ilmir Usmanov
871134cff8
Update test data
...
#KT-28309
2018-12-28 14:18:39 +03:00
Ilmir Usmanov
666fec41b9
Do not spill fake variables
...
#KT-28309
2018-12-28 14:18:39 +03:00
Ilmir Usmanov
ab472793ed
Add continuation parameter of suspend lambda's invoke to frame map
...
thus it will not overlap with $i$a and $i$f fake variables.
#KT-28309
2018-12-28 14:18:38 +03:00
Ilmir Usmanov
a107b5d6b6
Set type of inliner's fake variable slots to int by storing 0
...
Otherwise, D8 drops the whole LVT.
#KT-28309 Fixed
2018-12-28 14:18:37 +03:00
Nicolay Mitropolsky
55404ea00d
191: Making MockExternalAnnotationsManager not throwing exceptions in non action-required cases
2018-12-28 11:56:08 +03:00
Nicolay Mitropolsky
5d2002c742
Fixes to be compatible with IDEA 191
2018-12-28 11:54:30 +03:00
Simon Ogorodnik
cfb446df9e
Move FIR tests to fir modules
2018-12-27 21:32:22 +03:00
Mikhail Glukhikh
95af0268b8
FIR: add transformer consistency test
2018-12-27 21:32:22 +03:00
Mikhail Glukhikh
cdc536b147
Add visitor consistency test
2018-12-27 21:32:21 +03:00
Mikhail Glukhikh
5716bda15d
Raw FIR builder: add performance test to build FIR for all Kotlin
...
#KT-24086 Fixed
2018-12-27 21:32:21 +03:00
goodsauce
72be9ef738
#KT-27670 Add quick fix: wrap expression in a lambda if compatible functional type is required ( #2010 )
2018-12-27 20:12:10 +03:00
Mikhail Glukhikh
ed8d9be483
Fix EA-125880
2018-12-27 20:10:05 +03:00
Mikhail Glukhikh
8de2ff2163
Improve expect / actual markers on one line
...
Before this commit, only one-line enums and annotation classes were
considered. Now we can have enum header on one line and
some entries on another lines, and it still works.
Same with primary constructor parameters.
#KT-22637 Fixed
2018-12-27 19:45:28 +03:00
Mikhail Glukhikh
cdef811c55
Do not report "redundant arrow" with parameters without expected type
...
#KT-29049 Fixed
Part of KT-29005
2018-12-27 19:21:34 +03:00
Nicolay Mitropolsky
ebd6caaa71
Light-annotations: fix for reading class-literal varargs (KT-29027, IDEA-204252)
2018-12-27 16:04:05 +03:00
Alexander Udalov
bcb220b919
Minor, uncomment previously non-working code in test data
2018-12-27 13:12:38 +01:00
Dmitriy Dolovov
af4c2b8030
Fix: Rebuild common or native module with Delegate to gradle does nothing
...
Issues #KT-27295:fixed, #KT-27296:fixed
2018-12-27 18:24:43 +07:00
Nikolay Krasko
3b0cb2258a
Notify about incompatible methods in ExtensionPointName
2018-12-26 21:10:03 +03:00
Nikolay Krasko
5a40fc8679
Add UI options for comments generation (KT-5590)
...
#KT-5590 Fixed
2018-12-26 21:10:03 +03:00
Nikolay Krasko
3eb4895acf
Refactoring: rewrite without local any values
2018-12-26 21:09:28 +03:00
Nikolay Krasko
b232386d9d
Fix losing suffix in multiline literals with interpolation (KT-29013)
...
Element was looped in internal loop, but this was missing in add suffix
check.
2018-12-26 21:09:28 +03:00
Vadim Brilyantov
6d8439e9fb
add kotlinTarget field to non-mpp kotlin gradle model
2018-12-26 20:09:14 +03:00
Vadim Brilyantov
7e41384a60
add more precise target reporting with presets
...
fix report message to be more useful
2018-12-26 20:09:13 +03:00
Vadim Brilyantov
7e374e0f5a
fix target statistics: report target_platform_id istead of target_name
2018-12-26 20:09:11 +03:00
Ilya Gorbunov
743d0f4917
Refactor kotlin-stdlib-gen
...
- Make targetsToGenerate Collection to accept set in addition to list
- Unify generated file name schema to '_<source name><platform suffix>.kt'
2018-12-26 19:53:11 +03:00
Ilya Gorbunov
5584b435dc
Provide implementation templates for Native platform
2018-12-26 19:52:50 +03:00
Ilya Gorbunov
f05efd58de
Support Native target platform in kotlin-stdlib-gen
...
- Allow to select target platform and target directory to generate source for
- Put copyright profile to resources to have it in the resulting jar
- Output error for missing bodies, but do not stop generation on the first error
2018-12-26 19:52:49 +03:00
kenji tomita
7b43d5c972
Add inspection for converting !collection.isEmpty() -> isNotEmpty()
...
#KT-27556 Fixed
2018-12-26 19:25:14 +03:00
Toshiaki Kameyama
538a746df9
Introduce "Function with = { ... }" inspection
...
#KT-17119 Fixed
2018-12-26 19:14:06 +03:00
Toshiaki Kameyama
301b3aad06
Condition of 'if' expression is constant: report enum entries comparison
...
#KT-28803 Fixed
2018-12-26 19:04:22 +03:00
Leonid Startsev
662c1b6d4a
Make serialization plugin for Maven consistent with all other plugins:
...
Use correct import handler because old one was not working in IDE
Change maven artifact id to match pattern from other plugins
2018-12-26 18:53:53 +03:00
Mikhail Glukhikh
8420fceb8c
Support '.toType()' and literal fixes related to unsigned type mismatch
...
#KT-26836 Fixed
2018-12-26 18:21:49 +03:00
Mikhail Glukhikh
73b6148407
Do not suggest cast for SIGNED_CONSTANT_CONVERTED_TO_UNSIGNED
...
Related to KT-27590
2018-12-26 18:21:49 +03:00
Mikhail Glukhikh
d7ce79cc76
Suggest quick-fixes for SIGNED_CONSTANT_CONVERTED_TO_UNSIGNED
...
#KT-27590 Fixed
2018-12-26 18:21:49 +03:00
Ilya Gorbunov
9289a2c573
Remove redundant clause from 'until' function docs
2018-12-26 17:54:56 +03:00
Natalia Selezneva
022b21efa0
Scratch: move 'Make module' checkbox closer to modules combobox
...
^KT-28910
2018-12-26 16:56:49 +03:00
Natalia Selezneva
404c3ea57b
Set scratch file extension using API for IDEA 182 or higher
2018-12-26 16:56:49 +03:00
Natalia Selezneva
6eff314b9d
Script tests: check that script is highlighted
2018-12-26 16:56:49 +03:00
Natalia Selezneva
d389c9fd85
Refactoring: move scratch options to ScratchFile from ScratchPanel
2018-12-26 16:56:49 +03:00
Natalia Selezneva
a408711f37
Scratch: do not show error message when scratch execution is cancelled by user
2018-12-26 16:56:49 +03:00