Commit Graph

1706 Commits

Author SHA1 Message Date
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
Mikhael Bogdanov ad4eeb3f8a Properly capture local functions
Local functions in local classed wasn't captured properly
2013-03-27 15:57:27 +04:00
Mikhael Bogdanov 932c1444a2 Fix for local closures 2013-03-26 15:43:25 +04:00
Natalia.Ukhorskaya c6e934169f Add method isLocalClass to JetPsiUtil 2013-03-25 17:39:55 +04:00
Evgeny Gerashchenko 5ccbce6de6 Got rid of "tuple" word all over the code. 2013-03-22 16:38:25 +04:00
Evgeny Gerashchenko 66e7a0110c Updated test data and stdlib code which dependent on Tuple0/Unit
aliasing.
2013-03-22 16:38:24 +04:00
Evgeny Gerashchenko 3f88fa4a45 Removed Tuples.jet. 2013-03-22 16:38:23 +04:00
Evgeny Gerashchenko ffb67d3a1f Removed tuples from type checker test. 2013-03-22 16:37:15 +04:00
Andrey Breslav 3bd202de84 Allow to call += on a val 2013-03-21 21:21:54 +04:00
Mikhael Bogdanov 79bf174e93 Warning for unused function literal in do..while 2013-03-20 20:50:06 +04:00
Mikhael Bogdanov d9fd04dd43 Refactoring: code duplication removed from accessor generators 2013-03-20 20:50:05 +04:00
Svetlana Isakova df230d36c2 complete nested calls for array set expression correctly 2013-03-20 17:27:45 +04:00
Svetlana Isakova 1b1ee18f97 KT-3395 mapOf function can't be used as literal
#KT-3395 Fixed
2013-03-19 16:47:22 +04:00
Alexander Udalov 7cc1ed5cb1 Add regression test for KT-3413 2013-03-18 14:52:29 +04:00
Alexander Udalov 242b97febf Fix mapGetterSignature/mapSetterSignature
In case of TRAIT_IMPL the incorrect this was written. Reuse the code from the
common mapSignature

 #KT-3413 Fixed
2013-03-15 22:03:39 +04:00