Mikhail Glukhikh
0bcae4e0c0
Build fix: nullable exhaustiveness checker is now only a part of other exhaustiveness checkers
2016-01-12 15:44:55 +03:00
Alexey Tsvetkov
d928ac744e
Make withSubtypesOf more efficent
2016-01-12 15:32:48 +03:00
Alexey Tsvetkov
756c78bfcc
Append in a more safe way
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
f137910e63
Make doProcessChangesUsingLookups extension again
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
f20b39d02e
Use one loop for changes processing
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
d36810ab42
Minor: rename getSubtypeOf->withSubtypes
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
9190029fcc
Add tests for class hierarchy incremental recompilation
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
e2794cfa3f
Do not write inline calls to cache when experimental incremental compilation is enabled
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
2286268929
Append to class map should use IOUtil.writeUTF
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
a9fb5647b8
Get caches for targets transitively for exported dependencies
2016-01-12 15:32:46 +03:00
Alexey Tsvetkov
dfc08b8f38
Process changed signatures of classes
2016-01-12 15:32:46 +03:00
Alexey Tsvetkov
ab13b2ddfc
Minor: move processChanges
2016-01-12 15:32:46 +03:00
Mikhail Glukhikh
8b6156abd6
Quick fix "Add remaining when branches" with some tests
2016-01-12 14:33:20 +03:00
Mikhail Glukhikh
44b07d8dfa
Refactoring: context instead of trace in WhenChecker and around
2016-01-12 14:19:29 +03:00
Mikhail Glukhikh
936fee0afa
KT-10295: long enum (sealed) special case
2016-01-12 14:18:36 +03:00
Mikhail Glukhikh
c085eb650f
Better diagnostics for non-exhaustive whens, relevant test #KT-10295 Fixed
2016-01-12 14:18:23 +03:00
Mikhail Glukhikh
61c2a88a32
Separate when exhaustiveness checkers with list of missing cases as result
2016-01-12 14:07:08 +03:00
Mikhail Glukhikh
a99b2a6799
J2K: WhenChecker converted to Kotlin
2016-01-12 11:17:09 +03:00
Mikhail Glukhikh
e59fed7d9b
J2K: WhenChecker
2016-01-12 11:17:06 +03:00
Dmitry Jemerov
682a61ad26
use PARTIAL_FOR_COMPLETION resolve mode when checking whether reference will resolve to the property, otherwise we're going to miss local variables which shadow the property
2016-01-11 19:05:37 +01:00
Dmitry Jemerov
76c9bbc06d
handle setter calls used as expression bodies in "Use property access syntax" intention
...
#KT-10587 Fixed
2016-01-11 18:53:07 +01:00
Dmitry Jemerov
36488d21da
remove empty modifier list after removing visibility modifier
2016-01-11 18:46:04 +01:00
Dmitry Jemerov
d0a4e542af
use StubIndex.getElements() with required class specified to diagnose CCE problems when using stub index
2016-01-11 16:29:41 +01:00
Pavel V. Talanov
8d22eafe3f
Minor: prettify code
2016-01-11 16:33:20 +03:00
Pavel V. Talanov
41a8ded182
getting rid of ClsFileImpl.setPhysical
...
patch by Roman Shevchenko
2016-01-11 16:29:19 +03:00
Michael Bogdanov
0274ce4619
Always generate ACC_SUPER flag for all classes; Fix for KT-10260: java.lang.VerifyError in Android 4.x when Instant Run is used
...
#KT-10260 Fixed
2016-01-11 09:55:56 +03:00
Dmitry Jemerov
b11acdfbea
regenerate builtins (don't remove 'public' modifiers until we agree that we don't want them in stdlib)
2016-01-08 16:01:34 +01:00
Dmitry Jemerov
f885459a43
fix compilation after cleanup
2016-01-08 16:01:28 +01:00
Dmitry Jemerov
5d3ba1ad6c
remove "public" from generated code template
2016-01-08 16:01:26 +01:00
Dmitry Jemerov
d5903c5374
workaround for KT-10590: ensure that the inherited getProject() method is public, not protected
2016-01-08 16:01:20 +01:00
Dmitry Jemerov
44138f499e
plugins: cleanup 'public', property access syntax
2016-01-07 18:15:44 +01:00
Dmitry Jemerov
d6a11b839b
js: cleanup 'public', property access syntax
2016-01-07 18:15:19 +01:00
Dmitry Jemerov
33ef7ad024
jps-plugin: cleanup 'public', property access syntax
2016-01-07 18:14:31 +01:00
Dmitry Jemerov
6684dff14b
j2k: cleanup 'public', property access syntax
2016-01-07 18:13:10 +01:00
Dmitry Jemerov
43a6e13f4b
idea: cleanup 'public', property access syntax
2016-01-07 18:12:36 +01:00
Dmitry Jemerov
4afbf02bdd
generators: cleanup 'public', property access syntax
2016-01-07 18:07:13 +01:00
Dmitry Jemerov
951a313331
eval4j: cleanup 'public', property access syntax
2016-01-07 18:03:29 +01:00
Dmitry Jemerov
3870bd04b8
core: cleanup 'public', property access syntax
2016-01-07 18:03:09 +01:00
Dmitry Jemerov
117a0d8b7b
compiler: cleanup 'public', property access syntax
2016-01-07 17:57:38 +01:00
Dmitry Jemerov
b72ea1ff07
ant: cleanup 'public', property access syntax
2016-01-07 17:53:32 +01:00
Dmitry Jemerov
e47e9f6763
inspection and code cleanup for redundant visibility modifiers
2016-01-05 13:31:43 +01:00
Dmitry Petrov
b736880787
KT-6646, KT-10482:
...
when a method (or a property getter) returns Nothing, emit
ACONST_NULL
ATHROW
after a call so that class files verifier knows that this is an exit point in a method.
Note that if an inline method returning Nothing throws an exception explicitly
(or via a chain of inline methods), this code will be deleted by DCE.
2015-12-31 11:07:56 +03:00
Nikolay Krasko
ffd1bcf72f
Update icons (KT-10516)
...
#KT-10516 Fixed
2015-12-30 17:26:34 +03:00
Nikolay Krasko
f9a6da05df
Add explicit type (local builds othen fail here)
2015-12-30 17:26:06 +03:00
Nikolay Krasko
0518c6f618
Set "No" as default button
2015-12-30 17:19:16 +03:00
Natalia Ukhorskaya
ad9303b97b
Support breakpoints in anonymous objects with usages of cross inline argument
2015-12-30 14:49:30 +03:00
Natalia Ukhorskaya
754b02aa3c
Fix EA-76946 - IOOBE: LineSet.checkLineIndex: do not try to get line start offset for line out off document
2015-12-30 14:49:29 +03:00
Natalia Ukhorskaya
0a6dbc91ae
Fix EA-75128 - KNPE: IdentifierKt.declarationIdentifier
2015-12-30 14:49:29 +03:00
Natalia Ukhorskaya
5c83e2ac5b
KotlinSyntheticTypeComponentProvider: catch UnsupportedOperationException
...
#KT-10526 Fixed
2015-12-30 14:49:28 +03:00
Natalia Ukhorskaya
36d154babf
Support breakpoints for inline function with cross inline argument
2015-12-30 14:49:27 +03:00