Alexander Udalov
dadc97d29f
Fix maven build
...
Do not create class objects for classes which come from Java.
2012-09-20 18:10:19 +04:00
Nikolay Krasko
8c50b0ce9d
KT-2424 Invoking completion adds unnecessary FQ name
...
#KT-2424 Obsolete
2012-09-20 16:50:16 +04:00
Nikolay Krasko
c7af6de16b
KT-1187 Wrong unnecessary completion
...
#KT-1187 Fixed
2012-09-20 16:50:12 +04:00
Nikolay Krasko
b301bbe1f9
Don't activate top level completion in user types after dot
2012-09-20 16:50:08 +04:00
Nikolay Krasko
f1059271b2
Udate test framework for confidence tests. Move type directive to test files
2012-09-20 16:49:36 +04:00
Alexander Udalov
bce5cb9034
Support inner enums from binaries
...
#KT-2771 Fixed
2012-09-20 15:02:58 +04:00
Alexander Udalov
83fb970066
Write correct inner enum info in codegen
...
#KT-2771 In Progress
writeInnerClasses() now writes correct InnerClasses attribute with respect to
inner enums (see comments in the code).
2012-09-20 15:02:57 +04:00
Alexander Udalov
5af90c2a83
Extract some methods in codegen
...
Introduce DescriptorUtils#getInnerClasses(), which gets all descriptors from
inner classes scope and asserts that they are classes.
Inner/outer classes attributes are generated in separate methods.
2012-09-20 15:02:54 +04:00
Alexander Udalov
37fd9cea08
Place inner enum into its parent's class object
...
#KT-2771 In Progress
ClassifierCollector now collects all enum declarations inside non-static
classes. After all declarations are done, it processes these enums: creates
a class object if it's not present, reports errors on each enum if a class
object is not allowed, and puts every enum into this class object otherwise,
recording this fact to trace.
2012-09-20 15:02:13 +04:00
Alexander Udalov
c4da7f8eb2
Extract some methods in ClassifierCollector
2012-09-20 15:02:09 +04:00
Alexander Udalov
7ca22acd1f
Extract anonymous class from collectNamespacesAndClassifiers()
2012-09-20 15:02:08 +04:00
Nikolay Krasko
1ba4e5aee0
KT-2128 Code completion after number with dot - don't complete on '.' only in ".."
...
#KT-2128 Fixed
2012-09-20 14:53:08 +04:00
Svetlana Isakova
b081615e59
added tests for collections
2012-09-20 14:42:39 +04:00
Svetlana Isakova
45dbf36b53
added tests for kotlin signature for Map.Entry
2012-09-20 14:42:39 +04:00
Alex Tkachman
b022eec0fa
call correct methods String.valueOf/StringBuilder.append in case of byte/short. #KT-2794 fixed
2012-09-20 11:46:40 +03:00
Nikolay Krasko
a163236713
KT-2128 Code completion after number with dot - no tests for now
...
#KT-2128 In Progress
2012-09-20 00:30:22 +04:00
Nikolay Krasko
b84088e522
Small reformatting
2012-09-20 00:30:20 +04:00
Nikolay Krasko
a37f2e9d2d
Cache constructed scopes for files
2012-09-20 00:30:19 +04:00
Nikolay Krasko
bffbe1dd38
KT-2710 Extend root JS package with standard scope
...
#KT-2710 In Progress
2012-09-20 00:30:19 +04:00
Nikolay Krasko
fbe4e9f96e
KT-2710 code completion doesn't work
...
#KT-2710 In Progress
2012-09-20 00:30:18 +04:00
Andrey Breslav
bd0eab5202
Tuple migration quick fix now appears only on tupels shorter than 4
...
Longer tuples exhibit another error message.
Messages adjusted for compiler and IDE
2012-09-19 16:05:32 +04:00
Svetlana Isakova
0ccdf79051
no report 'UNNECESSARY_NOT_NULL_ASSERTION' on error types
2012-09-19 15:31:17 +04:00
Svetlana Isakova
0ff9d95704
made Map covariant on second parameter
2012-09-19 15:31:16 +04:00
Alex Tkachman
3dd9c6ab10
{} replaced by () in data classes toString
2012-09-19 13:50:50 +03:00
Svetlana Isakova
4bdeaffa04
use "JvmClassName.byFqNameWithoutInnerClasses" instead of "replace('.', '/')"
2012-09-19 13:06:25 +04:00
Svetlana Isakova
618f1b377b
added signatureName format to JvmClassName
2012-09-19 13:06:25 +04:00
Svetlana Isakova
47769ed638
tests changed after KT-2745
...
Write exact Kotlin type (if it's mapped) in signature while generating bytecode
#KT-2745 fixed
2012-09-19 13:06:25 +04:00
Svetlana Isakova
290343ed02
refactoring
2012-09-19 13:06:25 +04:00
Svetlana Isakova
d721287db6
write kotlin signature for ambiguous mapped types e.g. jet.List/MutableList for java.util.List
2012-09-19 13:06:25 +04:00
Svetlana Isakova
bfa6cc2f0a
read inner classes types from kotlin signature
2012-09-19 13:06:25 +04:00
Svetlana Isakova
305c42e15d
creation JvmClassName from class descriptor
2012-09-19 13:06:25 +04:00
Svetlana Isakova
00447b8cd4
added 'forceReal' parameter to 'visitInnerClassType' method
2012-09-19 13:06:25 +04:00
Svetlana Isakova
3fad7a269b
refactoring
...
extracted methods parseTypeConstructor, parseTypeArguments
2012-09-19 13:06:24 +04:00
Svetlana Isakova
c0334094ba
added JavaToKotlinClassMapBuilder
...
to merge the registration of mapped classes
2012-09-19 13:06:24 +04:00
Andrey Breslav
c9e9175a88
EA-37399 - ISE: OverrideResolver.findInvisibleOverriddenDescriptor
...
Each of the duplicated methods in the subclass should get the same set of overridden descriptors
2012-09-18 22:01:39 +04:00
Andrey Breslav
f8cdb7e81e
Test regenrated (data file removed in the previous commit)
2012-09-18 21:57:57 +04:00
Andrey Breslav
4c7b057dea
Cleanup
2012-09-18 21:54:14 +04:00
Andrey Breslav
884b63abac
Missing space added
2012-09-18 21:53:35 +04:00
Andrey Breslav
9c5d032fb1
Obsolete test case removed
2012-09-18 21:36:14 +04:00
Andrey Breslav
4ff2b24acb
TupleN classes removed from runtime
...
Class definitions are kept in the fornt-end to facilitate migration. Will be removed in the next milestone
#KT-2358 In progress
2012-09-18 21:16:31 +04:00
Andrey Breslav
49933b8087
Tuple support removed from the JS back-end
...
#KT-2358 In progress
2012-09-18 20:51:12 +04:00
Andrey Breslav
b8ef69e044
Tuple support removed from the JVM back-end
...
#KT-2358 In progress
2012-09-18 20:50:02 +04:00
Andrey Breslav
e373663a85
Tuple-related classes are deprecated
...
#KT-2358 In Progress
2012-09-18 20:47:34 +04:00
Andrey Breslav
3aaed57a66
Quick fix to replace sure() calls with !!
2012-09-18 20:27:09 +04:00
Andrey Breslav
36b5573f4d
A quick fix to replace tuples (expressions and types) by Unit, Pair and Triple
...
Changes are made to all files in the project
This quick-fix is to be removed in the next milestone
#KT-2358 In Progress
2012-09-18 20:27:09 +04:00
Andrey Breslav
5eaa5b396b
Removing usages of tuples from test data
...
(KT-2358 Drop tuples)
#KT-2358 In progress
2012-09-18 20:27:09 +04:00
Andrey Breslav
dee5152f9b
Supporting Unit.VALUE, to replace #()
...
#KT-2358 In Progress
2012-09-18 20:27:09 +04:00
Andrey Breslav
83bc835343
Assert message addded
2012-09-18 20:27:09 +04:00
Andrey Breslav
27a88d6f1d
toString() for debug purposes
2012-09-18 20:27:09 +04:00
Nikolay Krasko
5ff1c4007d
Don't complete keywords for upper case prefix
2012-09-18 19:54:20 +04:00