Alexander Udalov
2aadfa47ee
Write typeinfo annotations of generated componentN methods
...
Add some LoadKotlin testcases to test that.
2012-09-07 19:00:03 +04:00
Alexander Udalov
2c84389a45
Codegen for "componentN" functions for data classes
2012-09-07 19:00:02 +04:00
Alexander Udalov
b93db69a24
Resolve "componentN" functions for data classes
...
Reuse existing (but not used) VALUE_PARAMETER_AS_PROPERTY in
BindingContext to store mapping from constructor's value parameters to
property descriptors.
Create a new slice DATA_CLASS_COMPONENT_FUNCTION to store mapping from
constructor's value parameters to generated componentN functions.
2012-09-07 19:00:01 +04:00
Alexander Udalov
410922c58d
CallableMemberDescriptor.Kind.SYNTHESIZED
...
Introduce CallableMemberDescriptor.Kind.SYNTHESIZED for members which
neither are declared nor do appear as overrides of anything, but rather
are generated by the compiler.
2012-09-07 19:00:01 +04:00
Alexander Udalov
95dddadb36
Present "data" annotation to standard library
2012-09-07 19:00:00 +04:00
Andrey Breslav
b46187a560
KT-2739 Error type inferred for hashSet(Pair, Pair, Pair)
...
#KT-2739 Fixed
2012-09-07 18:24:22 +04:00
Alexander Udalov
213157a3c5
Regenerate diagnostic tests
2012-09-07 17:58:03 +04:00
Evgeny Gerashchenko
60eeee643a
EA-37462 - AIOOBE: ResolveToolwindow.renderValueArguments
...
Added assertion with extra information.
2012-09-07 17:52:32 +04:00
Evgeny Gerashchenko
1b2d946246
EA-35698 - assert: DecompiledDataFactory.build
...
Added information to assert message.
2012-09-07 17:52:32 +04:00
Evgeny Gerashchenko
0cb69d0328
Minor.
2012-09-07 17:52:32 +04:00
Evgeny Gerashchenko
17932f1b7c
EA-36257 - NPE: DecompiledDataFactory.appendDescriptor
...
Added assert in only place where source of NPE may appear.
2012-09-07 17:52:32 +04:00
Evgeny Gerashchenko
44a70669d7
Minor.
2012-09-07 17:52:32 +04:00
Evgeny Gerashchenko
b177c2cc15
EA-36997 - assert: FileManagerImpl.dispatchPendingEvents
2012-09-07 17:52:32 +04:00
Evgeny Gerashchenko
c32a41f241
Minor refactoring.
2012-09-07 17:52:32 +04:00
Evgeny Gerashchenko
a13d32daa9
EA-37610 - INRE: FileBasedIndexImpl.handleDumbMode
2012-09-07 17:52:32 +04:00
Andrey Breslav
7b01ce5acb
Test for KT-2532 Exception on trying to override delegated member.
...
#KT-2532 Fixed
2012-09-07 14:49:02 +04:00
Leonid Shalupov
15b5ba5b51
KT-2694 simplify loop
2012-09-07 13:46:54 +04:00
Leonid Shalupov
9ad9fcc74a
Merge pull request #125 from xpoft/master
...
KT-2694 Skip if sources don't found (for multiple modules projects)
2012-09-07 02:43:46 -07:00
Alex Tkachman
58c1cd4772
Merge pull request #127 from pechlambda/kt-2657-fix
...
KT-2657 Fixed incorrect stack values order in delegation methods codegen...
2012-09-06 14:08:18 -07:00
Kirill Berezin
6e951685de
KT-2657 Fixed incorrect stack values order in delegation methods codegen #KT-2657 Fixed
2012-09-06 23:54:14 +04:00
Kirill Berezin
454ad48d5b
added one more test to check if overrides are resolved correctly
2012-09-06 20:28:58 +04:00
Kirill Berezin
82a5beddea
do not copy overrides for the delegated methods, it causes failure of delegation to traits which extend other traits
2012-09-06 20:27:43 +04:00
Kirill Berezin
1061e1ef69
do not generate delegates when the class already has such method either declared or delegated (report an ambiguity in this case)
...
Merge conflict resolved by committer
2012-09-06 20:27:43 +04:00
Alex Tkachman
10bdc02409
performance optimizations:
...
- classes for object/class object and function literals are final
- class objects call own methods via this in oppose to static field in parent
2012-09-06 18:10:58 +03:00
Natalia
4303083945
KT-322 Prohibit inheriting classes from enums
...
#KT-322 Fixed
2012-09-06 17:24:37 +04:00
Natalia
07cf73ecef
KT-2697 Prohibit enum inheritance
...
#KT-2697 Fixed
2012-09-06 17:24:36 +04:00
Andrey Breslav
fc90c775e9
KT-2730 AssertionError at org.jetbrains.jet.codegen.AnnotationCodegen.genAnnotations(AnnotationCodegen.java:86)
...
#KT-2730 Fixed
2012-09-06 15:31:59 +04:00
Natalia
1441f742bb
Android test: tests with mock jdk now run with jdk annotations
2012-09-06 12:44:49 +04:00
Nikolay Krasko
a96474845b
Fix check of path separators in tests
2012-09-06 12:02:44 +04:00
Nikolay Krasko
8666b7d34b
Increase readability of string generation with String.format()
2012-09-06 12:01:47 +04:00
Nikolay Krasko
cc9634c2b2
EA-38862 Fixed - Update getSpacing for dealing with first nullable parameter in new IDEA
2012-09-06 00:00:54 +04:00
Nikolay Krasko
c587a1375f
KT-112 Cannot rename a class on a constructor call site
...
#KT-112 Obsolete
2012-09-06 00:00:53 +04:00
Alexander Udalov
34eade6f4f
Rename println() method to prevent name collisions with the existing vararg method
2012-09-05 19:39:26 +04:00
Svetlana Isakova
38fec5e4cb
introduced static map for asm type constants
2012-09-05 18:55:19 +04:00
Svetlana Isakova
ef490ba8f1
test fixed after merge
2012-09-05 18:55:19 +04:00
Svetlana Isakova
bdf189ed71
fixes after merge
...
(added module configuration parameter)
2012-09-05 18:55:19 +04:00
Svetlana Isakova
8e5e309440
preserve order while collect overrides
2012-09-05 18:55:19 +04:00
Svetlana Isakova
ed68ac2244
test fix
2012-09-05 18:55:18 +04:00
Svetlana Isakova
04daf73245
return more than one references from multi-resolve
2012-09-05 18:55:18 +04:00
Svetlana Isakova
b4e3c36c5e
resolve constructor reference in standard library
2012-09-05 18:55:18 +04:00
Svetlana Isakova
e72c3d79f8
changed ConfigurationKind in tests
...
from JDK_ONLY to JDK_AND_ANNOTATIONS
(after collections mapping added)
2012-09-05 18:55:18 +04:00
Svetlana Isakova
9263dbb0fc
added configuration kind parameter to tests
2012-09-05 18:55:17 +04:00
Svetlana Isakova
096218c2b8
removed resolve to file if there is no resolve result
2012-09-05 18:55:17 +04:00
Svetlana Isakova
0b4b515ad7
navigate to several elements if there are many
...
(not only in ambiguity case)
2012-09-05 18:55:17 +04:00
Svetlana Isakova
f8d341cb13
stdlib reference might be multi
...
(for fake reference defined in several super traits)
2012-09-05 18:55:17 +04:00
Svetlana Isakova
e622be8a2d
changed js tests/library after collections mapping
2012-09-05 18:55:17 +04:00
Svetlana Isakova
8bbb61a98c
update js view on java.util library after collections mapping
2012-09-05 18:55:17 +04:00
Svetlana Isakova
ce23fe7941
added toMutableList, toMutableCollection, toMutableSet
...
methods to standard library
2012-09-05 18:55:17 +04:00
Svetlana Isakova
fedf080a59
changes in MutableMap trait
2012-09-05 18:55:17 +04:00
Svetlana Isakova
02cf0258cb
move test
2012-09-05 18:55:17 +04:00