Commit Graph

7898 Commits

Author SHA1 Message Date
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
Evgeny Gerashchenko 7a00dd1551 Excluded newly added codegen test from Android JVM test. 2012-09-17 12:48:33 +04:00
Alex Tkachman 655a13aef6 IntrinsicsTest regenerated 2012-09-17 09:45:37 +03:00
Alex Tkachman 3b96624c81 small optimizaton of toString for primitive types (no boxing needed) 2012-09-17 09:07:08 +03:00
Alex Tkachman 58af365eb2 toString() method for data classes and fake implementation for hashCode/equals 2012-09-16 15:56:48 +03:00
Alex Tkachman e317764a88 correct access flags for package private (coming from java) #KT-2781 fixed 2012-09-16 10:08:36 +03:00
Alex Tkachman 99196c187b unification of codegen for singletons between object declarations, classobjects and const closures 2012-09-15 22:54:38 +03:00
Alex Tkachman f8983d8516 static final field for class object moved to class object class from containing class 2012-09-15 21:23:42 +03:00
Alex Tkachman 104f2a08d3 cleanup refactoring - classAsType & superClassAsmType introduced 2012-09-15 15:50:14 +03:00
Alex Tkachman 93def61813 getMethodAsmFlags extracted 2012-09-15 15:28:41 +03:00
Alex Tkachman 325ed0073d cleanup 2012-09-15 14:13:52 +03:00
Alex Tkachman f0e096aba6 genJetAnnotations method extracted 2012-09-15 13:44:56 +03:00
Alex Tkachman b2ab0ff0c8 cleanup state.getBindingContext()/getTypeMapper() replaced by use of fields 2012-09-15 11:48:55 +03:00
Nikolay Krasko 0182876998 Extend logging for error descriptor compile 2012-09-14 21:19:59 +04:00
Nikolay Krasko 8d551c8947 Don't create OutOfBlock modification inside mulitdeclarations 2012-09-14 21:19:59 +04:00
James Strachan fb5e2333ac add more swing helper methods for creating menus 2012-09-14 16:34:41 +01:00
James Strachan fdb755e2e7 update for KT-2765 so we can specify annotationPaths for kdoc too 2012-09-14 16:34:25 +01:00
James Strachan 3d66ebd0e1 added partial fix for KT-2765 so we can specify the paths to where annotations.xml files can be found 2012-09-14 15:04:09 +01:00
Natalia.Ukhorskaya c5db89e534 Generated field for classObject is now final
EA-38323 Fixed - Illegal field modifiers in class
2012-09-14 16:41:13 +04:00
Evgeny Gerashchenko 812b9453d1 Extracted KotlinSignatureUtil.isAnnotationEditable method. Made it work in the case of internal internal annotation. 2012-09-14 16:12:17 +04:00
Evgeny Gerashchenko 0665ad409a Hidden "Delete" action and renamed "Edit" to "View" when external annotation is read-only. 2012-09-14 16:12:17 +04:00
Evgeny Gerashchenko be4c0194d9 Fixed balloon position for library with sources. 2012-09-14 16:12:17 +04:00
Evgeny Gerashchenko c33b880a57 EA-39177 - CCE: ArrayIterator.generate
If local variable is auto-casted to array, it should be iterated as array.
2012-09-14 16:12:16 +04:00
Evgeny Gerashchenko 2f89352d80 Added AUTOCAST mark when expression is used as for-loop iterable. 2012-09-14 16:12:16 +04:00