Commit Graph

7937 Commits

Author SHA1 Message Date
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
Nikolay Krasko 110db34baa Use predefined Array for children and small reformatting 2012-09-18 19:26:59 +04:00
Nikolay Krasko 639c180d83 EA-36996, EA-37610 Fix exception for structure view initialization during indexing 2012-09-18 19:26:58 +04:00
Nikolay Krasko 4041d4d192 Remove ResolveSession.getResolutionScope() and extend usage of ScopeProvider.getResolutionScopeForDeclaration() 2012-09-18 19:26:57 +04:00
Nikolay Krasko 01141cfb36 Extend logging for EA-35750 2012-09-18 19:26:56 +04:00
Nikolay Krasko db830c88b4 EA-38787 Exception because of enumeration without name 2012-09-18 19:26:56 +04:00
Nikolay Krasko 7c41ec517f Better recovery for parameters without type 2012-09-18 19:26:54 +04:00
Nikolay Krasko f7da4f681c Don't fall when there's no parent descriptor for expression
(Example "class MaxInfo(val a = Int.<caret>)")
2012-09-18 19:26:54 +04:00
Nikolay Krasko ab1095a84e Formatter: remove unnecessary spaces in value and type parameter lists 2012-09-18 19:26:53 +04:00
Nikolay Krasko e29182b2fb Don't indent { for functions on new lines 2012-09-18 19:26:52 +04:00
Nikolay Krasko 9481862550 Refactoring: use static imports everywhere in file 2012-09-18 19:26:51 +04:00
Nikolay Krasko 72fb2c0d02 KT-2242 Fix {<space>(a: Int) -> a } case
#KT-2242 Fixed
2012-09-18 19:26:51 +04:00
Alex Tkachman 7b066faa9f changed behavior of componentX/toString/hashCode and equals to work naturally with overriden properties 2012-09-18 18:08:16 +03:00
Alex Tkachman ae93018546 fix for several (unlikely all) closely related problems with handling of byte/short/char on Delvik #KT-2251 fixed 2012-09-18 16:53:55 +03:00
Natalia.Ukhorskaya 75a504e7b2 EA-37741 - assert: ServiceBean.loadServicesFromBeans - Java to Kotlin converter settings aren't exported 2012-09-18 17:36:06 +04:00
Alex Tkachman 0ffc8f355b attempt to fix KT-2251 2012-09-18 14:25:09 +03:00
Natalia.Ukhorskaya 20f1ddc9da EA-36817: add message for assert for clarify cause of exception 2012-09-18 13:16:41 +04:00
Alex Tkachman d2c4f5c4a5 field access level change to private which it should be 2012-09-18 09:37:50 +03:00
Evgeny Gerashchenko 9cbe853cad Better rendering for PLATFORM_CLASS_MAPPED_TO_KOTLIN. 2012-09-17 21:00:50 +04:00
Alex Tkachman 8e463ac0ac equals generation for data classes 2012-09-17 18:48:17 +03:00
Evgeny Gerashchenko 8aa13a301c Added standard library reference resolver test cases with equals and toString functions. 2012-09-17 18:01:40 +04:00
Evgeny Gerashchenko 07259e7683 Added completion handler test with built-in extension function. 2012-09-17 18:01:15 +04:00
Evgeny Gerashchenko 311325883e ++Added custom "sure" function in some diagnostic tests, because it is being removed from builtins. 2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko 8f337cbd7c Removed 'sure' intrinsic method. 2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko c6a040a380 Removed sure() function from built-ins. 2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko 572b58012c Replaced if-else-if chain with visitor. 2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko a0ffb0d979 Removed sure() support from name suggester. 2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko ffea195f00 Added postfix expressions support in name suggester. 2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko ee539e7da5 Replaced sure() invocation with '!!' operator in suggester test. 2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko 09502433be Added custom "sure" function in some diagnostic tests, because it is being removed from builtins. 2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko 5de734c9f3 Replaced sure() invocations with '!!' operator in diagnostic tests. 2012-09-17 18:00:21 +04:00