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
Evgeny Gerashchenko
6e62212727
Replaced sure() invocations with '!!' operator in codegen tests.
2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko
ffc4792071
Replaced sure() invocations with '!!' operator in JS tests.
2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko
8e1323bb43
Replaced sure() invocations with '!!' operator in libraries written on Kotlin.
2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko
533cc5a04d
Replaced sure() invocations with '!!' operator in js.libraries/src/core.
2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko
3fd61edcd5
Replaced sure() invocations with '!!' operator in examples code.
2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko
789c8608e5
Replaced sure() invocation with '!!' operator in Java to Kotlin converter.
2012-09-17 18:00:20 +04:00
Alex Tkachman
8c823486d7
hashCode generation for data classes
2012-09-17 15:52:23 +03:00
Evgeny Gerashchenko
d825fb25a0
KT-1651 Navigation to enum constants doesn't work for libraries with and without source code
...
#KT-1651 fixed
2012-09-17 16:27:14 +04:00
Evgeny Gerashchenko
82b605508a
Added 'if not null' checks to avoid exceptions thrown before deferred assertions are printed.
2012-09-17 16:27:14 +04:00
Evgeny Gerashchenko
4620ba2fd3
Rewritten LoadCompiledKotlinTest to test generation framework.
2012-09-17 16:27:14 +04:00
Evgeny Gerashchenko
27becdec9b
Added getSliceContents() method to BindingContext returning immutable map for particular slice (for testing and debug purposes).
2012-09-17 16:27:14 +04:00
Evgeny Gerashchenko
84c10c1623
Added SlicedMap.getSliceContents() method returning immutable map for particular slice.
2012-09-17 16:27:13 +04:00
Natalia.Ukhorskaya
694f1f45f8
KT-2714 'enum' annotation should only be allowed on classes
...
#KT-2714 Fixed
2012-09-17 15:27:49 +04:00
James Strachan
65564537dd
added a bunch more swing helper methods; such as an easy function for doing the dreaded grid bag layout and helper properties so its easy to set a width or height for size/preferredSize/minimumSize/maximumSize on components
2012-09-17 12:04:42 +01:00
Alex Tkachman
9304ec103d
wrongly added test removed (correct one was added before by Zhenja)
2012-09-17 13:01:32 +03:00
Alex Tkachman
a4e272d7c6
optimization of toString for primitive types and "$expr"
...
- intrinsic toString for promitive types added to stdlib
- utility method added to CodegenUtil
- optimization logic added to generation of interpolating string
2012-09-17 13:00:02 +03:00