Commit Graph

6695 Commits

Author SHA1 Message Date
Alexander Udalov eeacfb96a3 KT-2247 Report name clashes between inner classes and members of class object
#KT-2247 Fixed
2012-07-19 17:56:51 +04:00
Andrey Breslav 8c1fd5e9c7 LR: Class object of an enum class doesn't carry type parameters 2012-07-19 17:22:10 +04:00
Andrey Breslav dc95638741 Method cache for ClassDescriptorSerializer 2012-07-19 17:21:29 +04:00
Andrey Breslav c91af010e1 Class descriptors with kind OBJECT are always final 2012-07-19 17:19:53 +04:00
Andrey Breslav bd5eb0c2b5 Missing test data file 2012-07-19 17:19:02 +04:00
Andrey Breslav 2ce0ddea8d Test data for newly passing tests 2012-07-19 17:09:58 +04:00
Andrey Breslav 4c71624997 LR: Delegation supported 2012-07-19 17:09:58 +04:00
Andrey Breslav 67900e9dfa Delegation resolved refactored for reuse
BindingContext.DELEGATED key replaced with kind == DELEGATION
2012-07-19 17:09:58 +04:00
Andrey Breslav 75b149f184 NamespaceComparator shows all mismatches it can find 2012-07-19 17:09:58 +04:00
Andrey Breslav f73bd4fd1d Members reordered to meet conventions 2012-07-19 17:09:58 +04:00
Andrey Breslav 77353d4a56 LR: Detecting and disconnecting loops in type hierarchy 2012-07-19 17:09:58 +04:00
Andrey Breslav 542068d14a Test data updated according to the changes in NamespaceComparator 2012-07-19 17:09:57 +04:00
Andrey Breslav eb1a279c67 Lazy resolve: Objects don't show up as classifiers 2012-07-19 17:09:57 +04:00
James Strachan ebc87ea34d added a test case that ensures the generated JS code works in the browser example 2012-07-19 14:05:26 +01:00
James Strachan b8bdc55ed1 added a link to the JS example 2012-07-19 14:04:50 +01:00
Nikolay Krasko 7089d8ea5c Rewrite indexed search for java classes produced from kotlin code 2012-07-19 13:56:06 +04:00
James Strachan 1aae3ff449 updated instructions 2012-07-19 10:26:56 +01:00
James Strachan 79904e23da updated browser example so its working again ;) 2012-07-19 10:23:57 +01:00
James Strachan 9cd231ae60 removed old cruft 2012-07-19 10:14:06 +01:00
James Strachan 36078216b7 re-include jQuery and html5 JS APIs into the kotlin-js-library now it seems KT-2316 is fixed 2012-07-19 08:30:16 +01:00
Andrey Breslav 43a00b9787 Class objects explicitly marked in the test data 2012-07-18 17:44:12 +04:00
Pavel V. Talanov 9a28f580bb Move NO_INTRINSIC to FunctionIntrinsic 2012-07-18 17:15:55 +04:00
Pavel V. Talanov b45c14b0ab Explicit equals method for primitives and correct global equals method.
Includes cosmetics.
#KT-2372 Fixed
2012-07-18 17:15:27 +04:00
Pavel V. Talanov e0651de9ed Extend CompositeFIF instead of using FIFBuilder. 2012-07-18 17:11:16 +04:00
Pavel V. Talanov 71071595fa Pattern -> DescriptorPredicate, NameChecker -> NamePredicate. 2012-07-18 17:11:15 +04:00
Pavel V. Talanov bd6f38021f Byte, Float, Short conversions. 2012-07-18 17:11:14 +04:00
Pavel V. Talanov c363d54d0a Number conversions. 2012-07-18 17:11:13 +04:00
Pavel V. Talanov 69cbf65d62 Move error reporting util from CallStandardMethodIntrinsic to ErrorReportingUtils. 2012-07-18 17:11:12 +04:00
Pavel V. Talanov aecb1ce5a7 Double conversions. 2012-07-18 17:11:12 +04:00
Pavel V. Talanov 3cd406a155 Integer conversions (to* methods).
Add NumberTest, NumberConversionFIF.
2012-07-18 17:11:11 +04:00
Pavel V. Talanov 459802e726 Reapplied Dmitry's changes to util methods 2012-07-18 17:11:10 +04:00
Pavel V. Talanov 239cb25348 Enable JsUnitTestReporter test since teamcity is fixed. 2012-07-18 17:11:09 +04:00
Pavel V. Talanov 346cc1410e Use OperatorConventions.BOOLEAN_OPERATIONS in frontend. 2012-07-18 17:11:09 +04:00
Pavel V. Talanov 62ad7a9b17 Finishing refactoring intrinsic. Implemented most of FunctionIntrinsics and basic BinaryOperationIntrinsics.
All test pass, need to add tests for type conversion operation though.
2012-07-18 17:11:08 +04:00
Pavel V. Talanov 961260c5c5 Intrinsic -> FunctionIntrinsic
Introduce FunctionIntrinsicFactory (unused atm)
2012-07-18 17:11:07 +04:00
Andrey Breslav d3427169fb Optimize indent() implementation 2012-07-18 16:34:12 +04:00
Andrey Breslav 07b8613025 Speed up sorting of members
We put "!" in front of the names of members, then while sorting we simply chop off the part of the string before "!"
2012-07-18 16:34:12 +04:00
Nikolay Krasko 28b0eefe5d - KT-2353 convert a selection of Java code to Kotlin by copy paste (or context menu) - Apply patch from Sergey Ignatov
#KT-2353 fixed
2012-07-18 14:33:13 +04:00
James Strachan 00b0f26339 add a minimum maven version to give better errors if folks try build on 2.x 2012-07-18 07:00:06 +01:00
Evgeny Gerashchenko b795a3c1dd KT-2297 Auto-insert closing brace on typing '{' after '$' in string literal
#KT-2297 fixed
2012-07-16 19:54:12 +04:00
Evgeny Gerashchenko 0b3c42c34b KT-2426 Match entered brace in string templates
#KT-2426
2012-07-16 19:54:11 +04:00
James Strachan a3d30409d3 added more descriptive assertion failure 2012-07-16 13:47:44 +01:00
James Strachan fee8c42885 added better links 2012-07-16 09:47:31 +01:00
James Strachan f54c3b9ab8 added an experimental refactor of the standard library where we use traits and inheritence/override to group extension functions and apply them in a more powerful way; reusing the language & IDE to check for missing functions or incorrect overriding etc. (e.g. its easy to see the difference between eager & lazy and ensure consistent APIs across extension functions) 2012-07-16 09:43:45 +01:00
Evgeny Gerashchenko a1ef535ace Reverted "Fixed Ranges.upTo and downTo, so they return non-empty range for case from==to". This patch needs to be reviewed later. 2012-07-15 11:23:04 +04:00
Evgeny Gerashchenko d3ba6a7bb9 Fixed Ranges.upTo and downTo, so they return non-empty range for case from==to. 2012-07-14 12:46:51 +04:00
Evgeny Gerashchenko 07347e20a9 Reformatted Ranges. 2012-07-14 12:41:49 +04:00
Andrey Breslav 15d469156a Reverting command line reporting: it breaks tests 2012-07-14 12:15:30 +04:00
Andrey Breslav 95b93322b3 Report the command line that was passed if its format is wrong 2012-07-14 11:56:29 +04:00
Dmitry Jemerov e5be4c8e63 publish plugin dist before test run is completed 2012-07-13 16:49:36 +02:00