Commit Graph

6709 Commits

Author SHA1 Message Date
Andrey Breslav bf503e9a4b KT-2363 Drop secondary constructors
#KT-2363 Fixed
2012-07-19 19:53:06 +04:00
Pavel V. Talanov fd96e9b9c0 StdLibIteratorsTest: some tests passing.
Also more test passing in StdLibListTest.
2012-07-19 19:01:47 +04:00
Pavel V. Talanov 4a4041c54f Various code improvements (missing annotations, dead code elimination) in the classes touched by previous commit. 2012-07-19 18:57:50 +04:00
Pavel V. Talanov 4dcbd8d0c5 getOriginal() works correctly for PropertyGetter(Setter)Descriptor (previously was returning itself). 2012-07-19 18:57:49 +04:00
Pavel V. Talanov 534bde52f1 Cache argument of when expression (should be evaluated only once). 2012-07-19 18:57:48 +04:00
Pavel V. Talanov cd2c55aeca Remove unnecessary code in IteratorForTranslator.
Introduce failOnEcma5 once again =(. One of tests fail due to kotlin_lib_v* details.
2012-07-19 18:57:47 +04:00
Pavel V. Talanov 63c42e13f9 Better messages for abstract function invocation in kotlin-lib.js.
Cosmetics in StdLibGetOrElseTest.
2012-07-19 18:57:46 +04:00
James Strachan d8d6dc1626 fixing the mvn build; whoops :) 2012-07-19 15:51:19 +01:00
Andrey Breslav 1f4783efb3 LR: Class objects are only allowed in a static context 2012-07-19 18:38:29 +04:00
James Strachan b9f5599296 Merge pull request #72 from chirino/master
Support using an executor as a function to execute a block.
2012-07-19 07:26:42 -07:00
Andrey Breslav 78a9abf517 Useful assertion 2012-07-19 18:12:51 +04:00
Andrey Breslav ba75c0ca04 Test data for now passing tests 2012-07-19 18:12:37 +04:00
Andrey Breslav 3403e6c95d Proper scoping for inner classes: they must shadow outer classes 2012-07-19 18:12:12 +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
Hiram Chirino ac434d4852 Adding support for transforming functions into Callable objects and integration with ExecutorService. 2012-07-18 14:55:50 -04:00
Hiram Chirino 7cbb8a19fb Support using an executor as a function to execute a block. 2012-07-18 12:37:26 -04: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