Mikhael Bogdanov
ec632c37ab
Support increment and '+=' on local delegated properties
2016-05-13 19:11:21 +03:00
Dotlin
4c223845b6
Delegated Properties: Code generation for local properties (JVM)
2016-05-13 19:11:19 +03:00
Dotlin
fa523b9af4
Delegated Properties: Analysis adjustments for local delegated properties support
2016-05-13 19:11:18 +03:00
phx402@gmail.com
75e9e35669
Fixed incorrect "No cast needed" warning when casting from extension function to regular one and vise versa
...
#KT-11780 Fixed
2016-05-13 13:40:14 +03:00
Nikolay Krasko
9c2ceca4b8
Revert "Additional simple test for variable initialize in secondary constructor"
...
This reverts commit 147f170f80 .
2016-05-12 17:22:16 +03:00
Nikolay Krasko
147f170f80
Additional simple test for variable initialize in secondary constructor
2016-05-12 17:13:24 +03:00
Mikhael Bogdanov
d6a64af929
Fix for KT-12125: Wrong increment/decrement on Byte/Char/Short.MAX_VALUE/MIN_VALUE
...
#KT-12125 Fixed
2016-05-11 18:07:25 +03:00
Ilya Chernikov
d77923af47
minor: fix after review
2016-05-06 13:06:39 +02:00
Ilya Chernikov
22283be1b7
minor: Make term "canceled" uniformly spelled in identifiers and strings in the daemon
2016-05-06 13:06:38 +02:00
Ilya Chernikov
1614aca48e
Implement graceful connection failure behavior on daemon connect and cancellation check
...
Should fix (or actually - behave gracefully on) #EA-74003, #EA-74493, #EA-76032, #EA-76529, #EA-81295
Tests added
2016-05-06 13:06:38 +02:00
Mikhael Bogdanov
cd6b709ef5
'bytecodeText' test for synthetic accessor generic signature converted to 'writeSignature' test
2016-05-04 17:07:48 +03:00
Mikhael Bogdanov
ee7bbbf530
Fix for KT-12127: Undeclared type variable on delegated property backing field
...
#KT-12127 Fixed
2016-05-04 17:07:48 +03:00
Denis Zharkov
d259b91143
Add MutableMap.remove(K, V) as built-in declaration
...
Use PlatformDependent annotation to guarantee it's only be available for JDK8
Also adjust type-safe bridges and mutable collection stubs generation
2016-04-29 15:08:54 +03:00
Valentin Kipyatkov
b551886889
Code cleanup: removed redundant semicolons
2016-04-29 11:26:25 +03:00
Kirill Rakhman
4a619db721
Add intrinsic for KCallable.name property Fixes #KT-11531
2016-04-28 23:03:00 +03:00
Mikhail Glukhikh
6b945ba103
Regular checkType() is now called during condition analysis, TYPE_MISMATCH_IN_CONDITION removed #KT-11998 Fixed
2016-04-27 18:12:28 +03:00
Denis Zharkov
12bbbb6ff1
Refactor Java resolver components
...
- Move components from LazyJavaResolverContext to JavaResolverComponents
- Drop LazyJavaClassResolver replacing it's usages with module resolver
(now enum entries from another module as annotation arguments are being resolved, see test)
2016-04-25 17:41:08 +03:00
Denis Zharkov
5bc5722051
Load additional JDK functions into built-ins member scope
...
#KT-5990 Fixed
#KT-7127 Fixed
#KT-10370 Fixed
2016-04-25 17:41:08 +03:00
Denis Zharkov
128dd43dbd
Minor. Move LoadBuiltinsTest testData to separate directory
2016-04-25 17:41:08 +03:00
Denis Zharkov
51a4b81d3e
Minor. Rename AdditionalSupertypes -> AdditionalClassPartsProvider
...
And relevant methods
2016-04-25 17:41:08 +03:00
Denis Zharkov
c918b3e1ae
Minor. Replace type entries of BuiltInsPackageFragment with interface
2016-04-25 17:41:08 +03:00
Denis Zharkov
5bf39689e9
Replace irrelevant usages of JvmBuiltIns.Instance with DefaultBuiltIns.Instance
2016-04-25 17:41:08 +03:00
Denis Zharkov
c667f50741
Delete TargetPlatform.builtins
...
Replace it's usages with relevant singleton reference
2016-04-25 17:41:08 +03:00
Denis Zharkov
ef18d64931
Parametrize module creation by platform with built-ins
2016-04-25 17:41:08 +03:00
Denis Zharkov
c4a899d9a4
Get rid of some targetPlatform.builtIns usages
...
Retrieve builtIns from module itself when adding dependencies on them
2016-04-25 17:41:08 +03:00
Stanislav Erokhin
a1d052b8fa
Refactoring. Remove FlexibleTypeFactory.DEFAULT and refactor flexible type creation by special fq-name for tests.
2016-04-25 15:28:46 +03:00
Stanislav Erokhin
0a4ad3f267
Refactoring. Rename FlexibleTypeCapabilities -> FlexibleTypeFactory. Also use factory.create instead of DelegatingFlexibleType.create.
2016-04-25 15:28:46 +03:00
Mikhail Glukhikh
d24528f6bb
Control flow analysis: nested finally blocks now appear in correct order in CFG #KT-4764 Fixed
2016-04-22 15:16:57 +03:00
Mikhail Glukhikh
a5b428d9ce
Refactoring: CFG.LexicalScope --> CFG.BlockScope #KT-11965 Fixed
2016-04-22 15:16:54 +03:00
Alexey Andreev
7b76fa6103
KT-11030 Remove tests for diagnostics for local classes in JS backend
2016-04-20 18:12:25 +03:00
Alexey Andreev
4ac730e5ed
KT-11030 Fix referencing wrong field generated for captured variable when this captured variable referenced both from constructor and non-constructor method. Avoid duplicate generation of call to delegated constructor.
2016-04-20 18:12:24 +03:00
Alexey Andreev
a5e0c70988
KT-11611 Prevent duplicate generation of default values of secondary constructor parameters
2016-04-20 18:12:23 +03:00
Michael Bogdanov
ff820bddc0
New source mapping
2016-04-20 17:07:06 +03:00
Mikhail Glukhikh
771fb0ace2
Compiler warning on identical enum constant / is type entries #KT-4829 Fixed
2016-04-20 12:21:31 +03:00
Dmitry Petrov
420c7a0285
KT-11111:
...
- override by a final inline fun is a warning
- override by a fun with reified type parameters is an error
2016-04-20 11:59:03 +03:00
Yan Zhulanow
9b1402d804
Fix "No error on increment or augmented assignment when 'get' is an operator but 'set' is not" #KT-11300
2016-04-19 19:24:38 +03:00
Alexander Udalov
9c99152126
Do not consider error results successful in '::' LHS resolution
...
Fixes EA-81649
2016-04-19 18:37:02 +03:00
Alexander Udalov
4706d4eaea
Minor, restructure parsing test case for '::'
2016-04-19 18:28:24 +03:00
Dmitry Petrov
e441f0509f
KT-11943 Do not use intrinsic 'java' property if receiver type is not acceptable
2016-04-19 10:31:30 +03:00
Nikolay Krasko
5396a68e71
Enable tests in generators module
2016-04-14 14:40:30 +03:00
Dmitry Petrov
511a7e0072
KT-11645 generate backing field for 'private const val' in part implementation class
2016-04-14 09:31:29 +03:00
Alexander Udalov
59d73e716c
Fix memory leak in StdlibTest
2016-04-12 20:03:51 +03:00
Alexander Udalov
a8629b3836
Do not fail on unknown -X flags
...
For better compatibility if we add experimental stuff in 1.0.X compilers
2016-04-12 20:03:51 +03:00
Michael Bogdanov
be999ca4cb
Write proper start label for parameters of inline function default implementation
2016-04-12 15:31:49 +03:00
Nikolay Krasko
598f48a8cf
Add tests for checking dependant modules for compiler-tests
2016-04-12 14:53:18 +03:00
Dmitry Petrov
1f3323ed32
KT-11750 Do not report REDECLARATION on descriptors which are not available in sources.
2016-04-11 09:13:07 +03:00
Alexey Sedunov
a30b4140de
[RESTORED] Misc: Configure IDEA Ultimate dependencies
2016-04-08 21:07:23 +03:00
Nikolay Krasko
47c7181f2a
Extract tests-common module without any actual tests
...
The main reasoning for the module is to avoid running any compiler tests while executing run configuration that searches tests across module dependencies.
2016-04-08 17:40:38 +03:00
Dmitry Petrov
aca7050656
KT-11499 Normalize stacks on return from an inline function when the function is inlined at call site.
2016-04-08 14:52:55 +03:00
Michael Bogdanov
a6044c81ff
Write proper start label for loop parameter
2016-04-08 14:32:51 +03:00