Yan Zhulanow
cbef0250aa
Allow to turn the first parameter of a SAM-converted lambda into the receiver (KT-12848)
2016-12-09 20:01:21 +03:00
Yan Zhulanow
fc8cc217dc
Do not create local variables in an abstract class inside OptimizationMethodVisitor, MethodNode forbids this.
2016-12-09 20:01:19 +03:00
Yan Zhulanow
3b65cb1ef2
Check if modality is refined in "Redundant modifier" inspection
2016-12-09 20:01:18 +03:00
Yan Zhulanow
0a2b52c1ed
Minor: Add allopen-ide and allopen-noarg to "idea" module test classpath
2016-12-09 20:01:16 +03:00
Yan Zhulanow
a22e5d446b
NoArg: Add Maven plugin
2016-12-09 20:01:15 +03:00
Yan Zhulanow
c705f0c437
NoArg: Add IDE integration
2016-12-09 20:01:14 +03:00
Yan Zhulanow
be26246a3e
Noarg: Add a kotlin-noarg Gradle plugin
2016-12-09 20:01:12 +03:00
Yan Zhulanow
e626b121ad
NoArg: Add compiler plugin
2016-12-09 20:01:10 +03:00
Yan Zhulanow
6abde4223b
AllOpen: Add IDE integration
2016-12-09 20:01:07 +03:00
Yan Zhulanow
4d638c2cfd
Allopen: Add Maven plugin for all-open
2016-12-09 20:01:05 +03:00
Sergey Mashkov
0f5d51a5c2
Resolve dependency jars
2016-12-09 20:01:04 +03:00
Sergey Mashkov
3149c75130
Add integration test for Kotlin compiler plugin for Maven
2016-12-09 20:01:01 +03:00
Sergey Mashkov
f59377011c
Initial Kotlin plugin support in Maven
2016-12-09 20:01:00 +03:00
Yan Zhulanow
ed7c38fb96
Allopen: Add allopen Gradle subplugin
2016-12-09 20:00:57 +03:00
Yan Zhulanow
f57df272ac
Allopen: Handle allopen annotations on classes (KT-12149)
2016-12-09 20:00:56 +03:00
Yan Zhulanow
58f408e173
Allopen: Add allopen compiler plugin
2016-12-09 20:00:54 +03:00
Mikhail Zarechenskiy
d66fdc95fb
Regenerate tests after rebase
2016-12-09 17:01:43 +03:00
Mikhail Zarechenskiy
373c1be7e4
Add quick fixes for mod/rem migration
...
- Remove 'operator' modifier
- Rename operator 'mod/modAssign' to 'rem/remAssign'
2016-12-09 17:01:42 +03:00
Mikhail Zarechenskiy
7a0e44b8f9
Resolve '%' as 'mod' when LV=1.0
2016-12-09 17:01:41 +03:00
Mikhail Zarechenskiy
f37b7224da
Fix test: do not propose to change 'mod' to '%'
2016-12-09 17:01:32 +03:00
Mikhail Zarechenskiy
7a09faa606
Fix test on JS conventions
2016-12-09 17:00:41 +03:00
Mikhail Zarechenskiy
d8330c3f14
Adapt JS translator to able work with deprecated 'mod' operator
2016-12-09 17:00:40 +03:00
Mikhail Zarechenskiy
bc4a492f4d
Resolve for rem/modAssign and mod/remAssign
...
rem/remAssign always wins if it is possible
2016-12-09 17:00:27 +03:00
Mikhail Zarechenskiy
8e73a902e4
Additional tests on mod/rem migration
2016-12-09 16:59:26 +03:00
Mikhail Zarechenskiy
040f4e90ce
Update test data as operator 'mod' became deprecated
...
Revert this commit after changing 'mod' to 'rem' in stdlib
2016-12-09 16:59:25 +03:00
Mikhail Zarechenskiy
5f71f1bcad
Add warnings at declaration and call sites of operator 'mod'
2016-12-09 16:59:24 +03:00
Mikhail Zarechenskiy
97ca51381a
Gradual migration of operator 'mod' to 'rem'
...
- Introduce new 'rem' operator convention
- Prefer 'rem()' to 'mod()' when both are available, even if mod() is a
member, and rem() -- an extension
- Place operator 'rem' under the language feature
2016-12-09 16:43:35 +03:00
Alexey Andreev
2df9daab1f
JS: prohibit private inline members of external classes, since KT-14031 was postponed
2016-12-09 15:13:10 +03:00
Alexey Andreev
df34e69d7d
JS: prohibit inheritance of external classes from non-external (see KT-15130)
2016-12-09 15:13:09 +03:00
Alexey Andreev
fff1af4ff6
JS: allow to inherit external classes with overloaded functions in case we don't override them (see KT-13910).
2016-12-09 15:13:09 +03:00
Alexey Andreev
ecb498717a
JS: rework diagnostics names. Prohibit external inner classes (see KT-14027)
2016-12-09 15:13:08 +03:00
Alexey Andreev
cf8161507c
JS: prohibit private members of external classes (see KT-14029)
2016-12-09 15:13:08 +03:00
Alexey Andreev
212b9f37b3
JS: get rid of external extension functions and properties in stdlib
2016-12-09 15:13:08 +03:00
Alexey Andreev
3882bf7564
JS: prohibit native (external) extension properties and functions. See KT-13896
2016-12-09 15:13:07 +03:00
Alexey Andreev
cf25e17209
JS: add tests that emulates promises and wraps them in coroutines, using suspend functions outside of controller
2016-12-09 14:56:21 +03:00
Alexey Andreev
060f08a8dd
JS: add support of interceptResume function in coroutine controller
2016-12-09 14:56:20 +03:00
Alexey Andreev
9eff193ea4
JS: support stack unwinding convention in coroutines
2016-12-09 14:56:20 +03:00
Alexey Andreev
bdda04243d
JS: support new coroutine convention (see KT-15058)
2016-12-09 14:56:19 +03:00
Alexey Andreev
bf74400776
JS: re-enable coroutine tests for JS backend
2016-12-09 14:56:19 +03:00
shiraji
44ca45123d
KT-15142 Remove redundant calls of the conversion method wrongly shown for Any?.toString
...
#KT-15142 Fixed
2016-12-09 14:33:55 +03:00
Mikhael Bogdanov
18cb734c58
Do not mangle internal @PublishedApi functions
2016-12-09 11:55:16 +01:00
Mikhael Bogdanov
5ffc0b36b0
Quickfix for published api
2016-12-09 11:55:16 +01:00
Mikhael Bogdanov
f4259c5f82
Added deprecation for protected call within inline functions
2016-12-09 11:55:16 +01:00
Mikhael Bogdanov
00e2463014
Effective visibility refactoring: calculate parent decriptor lazily, support checkPublishedApi flag
2016-12-09 11:55:15 +01:00
Mikhael Bogdanov
7af327c567
Added 'checkPublishedApi' to effective visibility checker
2016-12-09 11:55:15 +01:00
Mikhael Bogdanov
038065e827
Updated NON_PUBLIC_CALL_FROM_PUBLIC_INLINE diagnostic to support @PublishedApi
2016-12-09 11:55:15 +01:00
Mikhael Bogdanov
7ea29d3397
Wrong @PublishedApi usage diagnostic
2016-12-09 11:55:15 +01:00
Mikhael Bogdanov
58263c46cc
Compatibility validator update
2016-12-09 11:55:15 +01:00
Mikhael Bogdanov
95a47e56f7
InlineExposed usages are changed to PublishedApi
2016-12-09 11:55:14 +01:00
Alexey Andreev
0f813d5cfe
JS: fix compiling stdlib tests in JS
2016-12-09 12:04:32 +03:00