Commit Graph

6742 Commits

Author SHA1 Message Date
Alexander Udalov 2ac70ee35f KT-2457 Verify error when comparing not null value with null in when
backend-side changes
2012-07-20 17:43:38 +04:00
Nikolay Krasko fa7ad96a4e Test parent scope completion in local object declaration 2012-07-20 16:28:02 +04:00
Nikolay Krasko 578474011b Small Refactoring 2012-07-20 16:28:01 +04:00
James Strachan a2184526d8 added a Node.clear() helper method so they can be cleared like collections 2012-07-20 12:12:45 +01:00
Andrey Breslav 2a3ffed228 LR: Newly passed test data added 2012-07-20 14:19:58 +04:00
Andrey Breslav 2ee587d6c2 Overly exigent asserion removed 2012-07-20 14:19:58 +04:00
Pavel V. Talanov 8b5b2ce631 Seemingly more appropriate logic in BuiltinScopeExtensionMode. 2012-07-20 14:18:42 +04:00
Pavel V. Talanov 0b4499a4b7 For with Int#downto, Int#upto do not iterate on empty ranges. 2012-07-20 14:18:41 +04:00
Pavel V. Talanov 8eb0fb31ca Int#downto 2012-07-20 14:18:40 +04:00
Pavel V. Talanov ad94786555 Int#upto 2012-07-20 14:18:39 +04:00
Andrey Breslav ecf5f8228c Test data for newly passing tests 2012-07-20 11:50:04 +04:00
Andrey Breslav 9f6c79bccc Meaningful message 2012-07-20 11:50:04 +04:00
James Strachan 37b30ecb87 updated docs with links to the JS code and forum 2012-07-20 08:40:39 +01:00
James Strachan 22f24906dd fixed build 2012-07-20 08:33:33 +01:00
James Strachan 0bcb14e6da added a contributing section 2012-07-20 09:29:54 +02:00
James Strachan 9784e2a768 fixed build 2012-07-20 08:24:13 +01:00
James Strachan fbee1a8135 renamed to avoid confusion with other MapTest in QUnit 2012-07-20 07:15:43 +01:00
James Strachan 3ef4ff690c avoid failure on equals() call passing in null/undefined and updated the issues for failing JS unit tests 2012-07-20 07:14:20 +01:00
James Strachan 14abbc9e5f added better description of why MapTest is excluded 2012-07-19 21:43:00 +01:00
James Strachan 91c03f0d90 added AbstractCollection base class and equals/toString to HashSet 2012-07-19 21:37:39 +01:00
James Strachan 8f76eef440 updated on latest excluded JS tests 2012-07-19 21:37:27 +01:00
James Strachan e8ddeca248 got more test cases working in JS in a web browser; not sure why lots fail in selenium in JUnit 2012-07-19 21:35:22 +01:00
James Strachan 4f5e2227b4 upgraded to latest selenium 2012-07-19 21:34:13 +01:00
James Strachan 9dac461dbf used a simple implementation of withIndices() which offers a more consistent API (lists are easier to use than Iterables) and works around a JS generation bug so that ListTest now works in JS in a browser (though not, alas, in selenium/rhino/htmlunit) 2012-07-19 20:52:09 +01:00
Alex Tkachman ae06b372d7 Merge pull request #103 from udalov/kt2466
KT-2466 "When" on boolean produces VerifyError
2012-07-19 11:58:43 -07:00
Alexander Udalov db008d5d38 KT-2466 "When" on boolean produces VerifyError
#KT-2466 Fixed
2012-07-19 21:39:41 +04:00
Andrey Breslav 98efc0276a Merge pull request #102 from udalov/kt2247
KT-2247 Report name clashes between inner classes and members of class object
2012-07-19 10:10:35 -07:00
Pavel V. Talanov 675fde1347 StdLibSetTest: some tests pass. 2012-07-19 21:08:07 +04:00
Andrey Breslav 255b65c667 KT-2363 Drop secondary constructors
Test data updated
2012-07-19 21:01:33 +04:00
Pavel V. Talanov 4b9df9d541 StdLibIteratorsTest: more tests pass. 2012-07-19 20:43:23 +04:00
Pavel V. Talanov 803be4b0d5 Overloading operations via extension functions.
Also inline useless TranslationUtils#zeroLiteral. Eliminate dead code.
2012-07-19 20:43:22 +04:00
Pavel V. Talanov 36184ded3b Fix for previous incorrect solution of PropertyGetter(Setter)Descriptor getOriginal() problem. 2012-07-19 20:43:21 +04:00
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
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