Commit Graph

6283 Commits

Author SHA1 Message Date
Alexander Zolotov 1e301843f7 Fix function List<T>.reverse().
For now all iterables (including List) return reversed *copy* of collection.
See Problem 3 at https://github.com/JetBrains/kotlin/pull/78#issuecomment-6533534
2012-06-26 00:13:26 +04:00
Stepan Koltsov 8d2bd30585 kdoc: constants for names 2012-06-25 23:55:30 +04:00
Stepan Koltsov be1b9a011b kdoc: link to generated html source from kdoc 2012-06-25 23:55:30 +04:00
Stepan Koltsov caddc84950 kdoc: KClass: remove unnecessary name parameter 2012-06-25 23:55:29 +04:00
Stepan Koltsov 5cd062f95b kdoc: compute source file relative paths in model 2012-06-25 23:55:29 +04:00
Stepan Koltsov 631832b325 kdoc: change highlighter2 into doclet 2012-06-25 23:55:29 +04:00
Stepan Koltsov 8372ad7ec2 kdoc: cleanup 2012-06-25 23:55:28 +04:00
Nikolay Krasko 72ef07acef Don't stub parameter if it's a loop parameter 2012-06-25 17:05:01 +04:00
Nikolay Krasko 6b82429587 Don't create stubs for properties inside function initializers (EA-36861) 2012-06-25 15:07:10 +04:00
James Strachan 2aceeebc95 enabled the ListTest to demonstrate KT-2314 - we can re-enable the kotlin-js-tests-junit test case when this is fixed 2012-06-25 10:14:20 +01:00
James Strachan 7803393aa4 fixed up the JS generation of the Dom stdlib code 2012-06-25 10:04:13 +01:00
James Strachan c09106fe68 fixed the JS maven plugin so it can generate a single JS file with all the required kotlin JS inside 2012-06-25 10:03:46 +01:00
Nikolay Krasko 7499ba0255 Stub for enum entry 2012-06-25 11:41:34 +04:00
Nikolay Krasko 429c2f307e - The information on is the file a script is stored in the file stub
- Correct information about type of kotlin file stub type
2012-06-25 11:26:47 +04:00
James Strachan 8646748e46 disabled failing JS test case until Collections.emptyList() works 2012-06-23 08:53:01 +01:00
James Strachan c8a1ffe813 added JS support for toSet() and fixed issue with code generated array methods 2012-06-23 07:49:15 +01:00
James Strachan 4a4cf0467f more of the stdlib compiling to JS 2012-06-23 06:58:40 +01:00
James Strachan b712719ae4 added some more kotlin standard library code for the JS translation 2012-06-22 19:17:00 +01:00
Svetlana Isakova 190360b1d4 EA-35501 fixed (checkBackingField assert) 2012-06-22 19:02:03 +04:00
Svetlana Isakova 17587161e4 Merge pull request #86 from udalov/antTaskTest
fix failing because of line endings test
2012-06-22 07:34:43 -07:00
Alexander Udalov ce5b556679 fix failing because of line endings test 2012-06-22 18:30:50 +04:00
Svetlana Isakova cf639e8c32 use 'getIndex' in parameters instead of 'int i' counter 2012-06-22 18:03:13 +04:00
James Strachan 7b36a22264 enabled the compiling of most of the collections based standard kotlin library to JavaScript 2012-06-22 14:52:13 +01:00
James Strachan 43b78649f3 added better error reporting, showing the real location of the kotlin code that causes the problem 2012-06-22 14:33:07 +01:00
James Strachan 0873d3a494 simplified the library code to avoid some JS compile errors 2012-06-22 14:32:48 +01:00
Svetlana Isakova 53b59ce152 EA-36814. Do not repeat annotations resolve
for primary constructor parameters as properties
(annotations are already resolved for parameters themselves)
2012-06-22 17:26:29 +04:00
James Strachan 32e0b06de1 added location information for when the assertion fails 2012-06-22 14:25:26 +01:00
Svetlana Isakova a66771ba42 Merge pull request #85 from udalov/kt2146
Kt2146
2012-06-22 05:23:08 -07:00
Alexander Udalov 28b150892a "!is" now works correctly in when-clauses 2012-06-22 15:51:13 +04:00
Svetlana Isakova e4e69fd9eb Merge pull request #84 from udalov/kt2176
KT-2176 non-nullability is not inferred after !! or "as"
2012-06-22 04:24:47 -07:00
Alex Tkachman 744fa1ed2f fix for test broken on windows 2012-06-22 13:01:30 +03:00
Alexander Udalov 3f4e2514ea extract DataFlowInfo from when-condition + more tests for kt2146 2012-06-22 13:18:45 +04:00
Alex Tkachman c1802e2360 breakpoints for multi-file namespaces 2012-06-22 11:55:16 +03:00
Alexander Udalov b5ba7123d5 KT-2146 Nullability casts in when.
#KT-2146 Fixed
2012-06-21 22:38:13 +04:00
Alexander Udalov 38fc57ae42 Pass DataFlowInfo through when-conditions 2012-06-21 22:38:11 +04:00
Nikolay Krasko 1ae1f13821 Filter creating stub elements 2012-06-21 20:59:35 +04:00
Nikolay Krasko aa2cf2e1dd Remove ILightStubElementType implementations for now 2012-06-21 20:59:34 +04:00
Natalia.Ukhorskaya 9dfccddd6b KT-2231Fixed: No executable code for a super-call 2012-06-21 19:43:59 +04:00
James Strachan 1c26d7212f added some documentation on how the JavaScript generation and testing of the standard library works 2012-06-21 16:12:23 +01:00
James Strachan 8a6b752357 refactored the standard library so most of the collection APIs in the standard library can be compiled to JS 2012-06-21 15:53:39 +01:00
Alexander Udalov d54e117b19 KT-2176 non-nullability is not inferred after !! or "as"
#KT-2176 Fixed
2012-06-21 16:46:42 +04:00
Nikolay Krasko da31a9696c - Value parameters stubs
- ToString methods for stubs
- Some test fro stub tree construction
2012-06-21 14:45:51 +04:00
Svetlana Isakova 13382f7828 Merge pull request #83 from udalov/kt2223
KT-2223 Comparing non-null value with null might produce helpful warning
2012-06-20 09:42:25 -07:00
Alexander Udalov d67e22b174 KT-2223 Comparing non-null value with null might produce helpful warning
#KT-2223 Fixed
2012-06-20 20:33:58 +04:00
Evgeny Gerashchenko aed160e02a Enabled ClassWithTypePExtendsIterableP in ReadJavaBinaryClassTest, disabled attaching jdk-headers in lazy resolve tests. 2012-06-20 20:26:03 +04:00
Evgeny Gerashchenko edb293eca9 Fixed CliTest. 2012-06-20 20:25:18 +04:00
Evgeny Gerashchenko 1d16f46211 Revert "Fixed CliTest."
This reverts commit 43ddf37685.
2012-06-20 20:24:16 +04:00
Evgeny Gerashchenko 43ddf37685 Fixed CliTest. 2012-06-20 20:23:17 +04:00
Evgeny Gerashchenko 4e6291b6ce Fixed CliTest. 2012-06-20 20:07:43 +04:00
Evgeny Gerashchenko 95249099eb KT-2279 Setter generated for abstract var is not abstract
#KT-2279 fixed
2012-06-20 19:15:41 +04:00