Andrey Breslav
140382e280
PSI getter fixed: left-hand side of a binary expression can now be null
...
EA-35976 - IAE: FqNameUnsafe.validateFqName
2013-04-18 16:34:10 +04:00
Mikhael Bogdanov
c69e7f059d
Duplicated JetTypeMapper.mapSignature removed
2013-04-18 15:03:43 +04:00
Mikhael Bogdanov
a1d295638a
ExpressionCOdegen.visitSimpleNameExpression simplification
2013-04-18 14:05:15 +04:00
Mikhael Bogdanov
1fd76845ad
Regression test for kt3315
2013-04-17 18:55:04 +04:00
Andrey Breslav
12cd0675bc
A module can look up a namespace (package view) by FqName
2013-04-17 17:11:20 +04:00
Andrey Breslav
b89dc314c8
getPlatformToKotlinClassMap() removed from ModuleConfiguration
2013-04-17 17:11:19 +04:00
Andrey Breslav
4111e78ac2
ModuleDescriptor stores a PlatformToKotlinClassMap
2013-04-17 17:11:18 +04:00
Andrey Breslav
2e710d7462
getDefaultImports() removed from ModuleConfiguration
2013-04-17 17:11:18 +04:00
Andrey Breslav
f3656bcadd
ModuleDescriptor stores default imports
2013-04-17 17:11:18 +04:00
Andrey Breslav
a72e49d8f7
Use ModuleDescriptor instead of ModuleConfiguration
2013-04-17 17:11:17 +04:00
Andrey Breslav
e29418cde5
ModuleDescriptor stores a ModuleConfiguration
2013-04-17 17:11:17 +04:00
Andrey Breslav
2e44996cd0
ModuleDescriptor interface extracted
2013-04-17 17:11:16 +04:00
Natalia.Ukhorskaya
f2b3be7416
Unify properties initialization for init and clinit
2013-04-17 16:18:10 +04:00
Mikhael Bogdanov
57b161b08a
KT-3500: ClassFormatError: Duplicate method name&signature in class file && KT-3429: Traits override bug
2013-04-17 15:23:33 +04:00
Mikhael Bogdanov
3da3f94b4e
KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring
2013-04-17 15:23:33 +04:00
Andrey Breslav
d612a1167d
Better error reporting in codegen tests:
...
an exception from generateToText() used to mask the one from the original run
2013-04-12 21:06:54 +04:00
Andrey Breslav
99e735ba7b
An unfortunate design decision removed from tests
2013-04-12 21:06:53 +04:00
Svetlana Isakova
204ffde78a
added errors TYPE_PARAMETER_ON_LHS_OF_DOT,
...
TYPE_PARAMETER_IS_NOT_AN_EXPRESSION
fixed exception from ea
2013-04-12 17:35:00 +04:00
Svetlana Isakova
3168b732d3
annotate 'getArrayExpression' with @Nullable @IfNotParsed
...
from EA
2013-04-12 17:34:59 +04:00
Evgeny Gerashchenko
976713d3e7
Minor. Regenerated.
2013-04-11 21:11:38 +04:00
Evgeny Gerashchenko
f713b03abc
Fixed propagation for non-abstract methods inherited from traits.
2013-04-11 21:06:33 +04:00
Nikolay Krasko
e242f31dff
Rename methods (prefix -> prefixes)
2013-04-11 20:00:23 +04:00
Nikolay Krasko
a79e997611
Add ability to test for unexpected directives in tested file
2013-04-11 20:00:20 +04:00
Nikolay Krasko
5ccea1185d
Make completion test framework be configurable for writing multi-platform tests
2013-04-11 20:00:20 +04:00
Nikolay Krasko
1d05125c8f
Refactoring: change parameters order in InTextDirectivesUtils
2013-04-11 20:00:19 +04:00
Nikolay Krasko
ebd72df058
KT-3491 Wrong (or not obvious) warning
...
#KT-3491 Fixed
2013-04-10 13:14:49 +04:00
Natalia.Ukhorskaya
1dce3b5da4
Invoke top level function with default argument using src class
2013-04-09 17:11:25 +04:00
Evgeny Gerashchenko
b1ea79113f
Replaced hard exception with LOG.error.
2013-04-04 17:51:51 +04:00
Svetlana Isakova
d843608298
'checkType' for qualified properties as function arguments
2013-04-03 20:44:47 +04:00
Svetlana Isakova
8f1b728a08
try to use bounds in type inference
...
if some parameters are unknown
2013-04-03 15:51:17 +04:00
Svetlana Isakova
12c0a2cb77
KT-3461 Nullable argument allowed where shouldn't be
...
#KT-3461 Fixed
2013-04-01 19:07:36 +04:00
Andrey Breslav
d42a9f37a3
Proper checking for a qualified name
...
When i18n plugin is enabled, it looks for classes like "java.lang.Object...)" while highlighting annotations.xml
EA-43709 - IAE: NameUtils.requireIdentifier
2013-04-01 13:37:02 +04:00
Evgeny Gerashchenko
6ff9bfd4bb
Supported SAM constructor calls without function literal.
2013-03-29 20:36:47 +04:00
Alexey Sedunov
6a7cd7c6e3
Add tests for mutability annotation support in type resolver
2013-03-29 18:42:47 +04:00
Alexey Sedunov
fc7bb67aca
Add extended annotation to test environment
2013-03-29 18:42:44 +04:00
Evgeny Gerashchenko
dcb95fc5ac
Fixed priorities for synthetic functions.
2013-03-29 13:10:31 +04:00
Evgeny Gerashchenko
0fee69fe07
Prioritized synthetic and not synthetic functions.
2013-03-28 20:07:47 +04:00
Evgeny Gerashchenko
0bc65321c2
KT-1547 Wrong layout of closure classes
...
#KT-1547 fixed
2013-03-28 15:54:51 +04:00
Evgeny Gerashchenko
c619685dc8
Added test with overridden j.l.Object methods in trait.
2013-03-28 15:54:51 +04:00
Evgeny Gerashchenko
8f079f6d41
Added tests for ignoring Object methods when loading interface.
2013-03-27 19:19:58 +04:00
Evgeny Gerashchenko
b891d6d87f
Loading SAM constructor functions for nested interfaces.
2013-03-27 19:19:57 +04:00
Evgeny Gerashchenko
17cc055152
Loading deeply nested static method correctly.
2013-03-27 19:19:57 +04:00
Evgeny Gerashchenko
0422253943
Loading generic interfaces with upper bounds.
2013-03-27 19:19:57 +04:00
Evgeny Gerashchenko
dea7ef77ec
If interface method has generic parameters, interface is not functional.
2013-03-27 19:19:56 +04:00
Evgeny Gerashchenko
91282b992d
Supported functional interfaces with generic parameters in codegen.
2013-03-27 19:19:56 +04:00
Evgeny Gerashchenko
3b558d575c
Loading functional interfaces with generic parameters.
2013-03-27 19:19:56 +04:00
Evgeny Gerashchenko
45d638cc51
Loading interface with only one method inherited from Object as not functional.
...
#KT-1242 fixed
2013-03-27 19:19:56 +04:00
Evgeny Gerashchenko
e6c047b2e0
Added tests with FilenameFilter (several arguments).
2013-03-27 19:19:56 +04:00
Evgeny Gerashchenko
835c0f85c7
Supported SAM constructors in codegen (simplest case).
2013-03-27 19:19:55 +04:00
Evgeny Gerashchenko
2718f7698c
Basic support for resolving top-level SAM interfaces.
2013-03-27 19:19:53 +04:00