Dmitry Petrov
05daa21657
Fix inline class secondary constructor call generation
...
Don't generate NEW+DUP for inline class constructor calls.
2018-09-05 12:20:57 +03:00
Dmitry Petrov
80a67477db
Generate method calls for inline classes through IC, not IC$Erased
...
IC extends IC$Erased, so it should be fine.
2018-09-05 12:20:57 +03:00
Dmitry Petrov
3080b65f7d
Inline (wrapper) class IC extends erased inline class IC$Erased
2018-09-05 12:20:57 +03:00
Sergey Bogolepov
a46b28718e
Add allScopes property to IrElementVisitorVoidWithContext
2018-09-05 09:56:48 +03:00
Svyatoslav Scherbina
66b259350a
Support implicit integer coercion enabling for the entire module
2018-09-05 09:56:47 +03:00
Nicolay Mitropolsky
d0575127be
fix for StoredExceptionsThrowToggleAction nullability changed in 183
2018-09-05 09:42:59 +03:00
Roman Elizarov
0401b4e0bb
Coroutine context shall perform structural equality comparison on keys
...
Fixes KT-26398
2018-09-05 01:29:19 +03:00
Ilmir Usmanov
cfc10ec061
Simplify debug metadata: instead of array of same values, store single element
...
This change is valid, since we want StackTraceElement to be as close
as possible to StackTraceElement of non-coroutine code.
Particularly, if the line is inside inlined function, its className,
functionName and sourceFile are inline site's ones, but lineNumber
is large, which is the way of representing inline function's line
numbers. The rest is handled by the plugin, which allows the user to choose
between inline function body and inline site.
2018-09-04 22:20:08 +03:00
Svyatoslav Kuzmich
ad58fdd158
[JS IR BE] Unmute tests after adding stdlib
2018-09-04 20:19:04 +03:00
Svyatoslav Kuzmich
197a5969e2
[JS IR BE] Fix stdlib files list for 1.3
2018-09-04 20:19:04 +03:00
Svyatoslav Kuzmich
c3b9a5108e
[JS IR BE] Add more stdlib files to runtime
...
Keep old sources list for coroutine tests
2018-09-04 20:19:04 +03:00
Svyatoslav Kuzmich
97717afec4
[JS IR BE] Choose actual declaration of COROUTINE_SUSPEND_NAME
2018-09-04 20:19:04 +03:00
Svyatoslav Kuzmich
5192783669
[JS IR BE] Workaround empty blocks in state machine builder
2018-09-04 20:19:03 +03:00
Svyatoslav Kuzmich
e0237a4480
[JS IR BE] Check for unbound symbols in type operator lowering
2018-09-04 20:19:03 +03:00
Svyatoslav Kuzmich
437a68daca
[JS IR BE] Check number of value arguments in toString
2018-09-04 20:19:03 +03:00
Svyatoslav Kuzmich
a3afd101fa
[JS IR BE] Delete expected enum classes
2018-09-04 20:19:03 +03:00
Svyatoslav Kuzmich
dde1e9335e
[JS IR BE] Don't copy type parameters in secondary ctor lowering
2018-09-04 20:19:03 +03:00
Svyatoslav Kuzmich
a01b6de2d8
[JS IR BE] Add missing exceptions
2018-09-04 20:19:03 +03:00
Alexey Sedunov
9d5bd29e8b
Misc: Render MemberInfo as 'abstract' only if it's present in source
...
#KT-26533 Fixed
2018-09-04 19:49:14 +03:00
Toshiaki Kameyama
be30761ec4
"Convert to 'also'" intention: Fix for call expression has this receiver #KT-26009 Fixed
2018-09-04 19:29:44 +03:00
Toshiaki Kameyama
e1dd85429f
Extract function: make default visibility private #KT-25454 Fixed
2018-09-04 19:28:25 +03:00
Toshiaki Kameyama
dc57887a4d
Create function quick fix: fix visibility from inline method #KT-25228 Fixed
2018-09-04 19:01:22 +03:00
Toshiaki Kameyama
e2945b1d12
Add quickfix for "Interface doesn't have constructors" #KT-17687 Fixed
2018-09-04 18:58:56 +03:00
Toshiaki Kameyama
b5ba475696
"Redundant lambda arrow" inspection: Also report arrow with single underscore parameter #KT-24728 Fixed
2018-09-04 18:29:46 +03:00
Toshiaki Kameyama
20535feb31
"Remove parameter" quick fix: Remove unused type parameter used as type projection #KT-23511
2018-09-04 18:29:13 +03:00
Ilya Gorbunov
3e38bbcb07
Update generator template to match manually edited _URanges.kt file
2018-09-04 17:39:51 +03:00
Ilya Gorbunov
64996618b3
Suppress signed literals used as unsigned values in stdlib tests
2018-09-04 17:39:51 +03:00
Alexander Podkhalyuzin
c36d0e5db5
Changed action group text
...
#KT-26501 Fixed
2018-09-04 16:47:54 +03:00
victor.petukhov
921fc263e1
Remove PSI spec tests generation
2018-09-04 15:54:04 +03:00
Yan Zhulanow
7398a8149d
Do not use ApplicationExtensionDescriptor in JPS (KT-26542)
...
The 'ExtensionPointName' class that ApplicationExtensionDescriptor uses is missing in the JPS classpath.
Now we don't use it unless the IDEA Application is properly initialized.
2018-09-04 14:54:45 +03:00
Roman Artemev
0eba87b571
[JS IR BE] Mute temporary broken tests
2018-09-04 12:43:39 +03:00
Roman Artemev
6387cc45aa
Update testIr.html
2018-09-04 12:43:39 +03:00
Roman Artemev
a46b1cf126
[JS IR BE] Remove workaround to run coroutine tests
2018-09-04 12:43:39 +03:00
Roman Artemev
54e98fc014
[JS IR BE] Make coroutine compile separately from stdlib
...
* use accessors instead of direct field access
2018-09-04 12:43:39 +03:00
Alexander Udalov
4f803d03cf
Minor, fix test data
2018-08-31 19:54:08 +02:00
Mikhail Zarechenskiy
9a978d2c8f
Fix test data after daadba0927
2018-08-31 18:17:34 +03:00
Mikhail Zarechenskiy
6c747dcdb2
Don't use constant conversion from signed to unsigned in stdlib
...
After daadba0927
2018-08-31 18:17:09 +03:00
victor.petukhov
110bc7412d
Fix name of 'controlflow' folder with contract tests
2018-08-31 17:27:51 +03:00
Nicolay Mitropolsky
7068992937
183: gson for 183 updated to 2.8.5
2018-08-31 17:20:54 +03:00
Nicolay Mitropolsky
c13eac7507
183: AbstractHierarchyTest.doHierarchyTest signature update
2018-08-31 17:20:54 +03:00
Nicolay Mitropolsky
d415ca9cf6
fixed nullability for various listeners update in 183
2018-08-31 17:20:54 +03:00
victor.petukhov
d9473c0b6e
Add parsing spec tests support
2018-08-31 17:16:19 +03:00
victor.petukhov
f322aba768
Add gradle task to generate json tests map
2018-08-31 17:16:10 +03:00
victor.petukhov
88d8bb84ac
Add not linked spec tests support in printSpecTestStatistic gradle task
2018-08-31 17:16:00 +03:00
victor.petukhov
8d91e5998d
Add spec tests for contracts
2018-08-31 17:15:51 +03:00
victor.petukhov
ecf8b88c4c
Add 'not linked' kind of spec tests
2018-08-31 17:15:40 +03:00
Yan Zhulanow
841bb4f253
Minor: Update DataFlowValueRenderingTestGenerated
2018-08-31 18:56:57 +05:00
Natalia Selezneva
3979ad7a1d
Use correct classpath for Ide Scripting Console files during highlighting
...
KT-25606
2018-08-31 15:55:59 +03:00
Georgy Bronnikov
2fccf6875f
Mute tests involving Char.{MIN,MAX}_VALUE, analogously to other primitive types
2018-08-31 15:44:05 +03:00
Roman Artemev
8a871b3f0c
Update tests
2018-08-31 15:34:18 +03:00