Commit Graph

6386 Commits

Author SHA1 Message Date
James Strachan b960bea2d9 added test cases to try reproduce yesterdays JS bug with missing "this.drop(1)" in List.tail property, found another JS compile issue... 2012-07-03 08:45:26 +01:00
James Strachan d8d1da7334 disabled mvn compile of JS samples until we fix: java.lang.IllegalStateException: null at (5,10) in /stdlib/JUMaps.kt.jet 2012-07-03 08:12:51 +01:00
James Strachan 541f3d4e78 got more map code compiling to JS and running as unit tests 2012-07-03 07:43:15 +01:00
James Strachan 8637373aa2 disabled mvn compile of JS tests until we fix: java.lang.IllegalStateException: null at (5,10) in /stdlib/JUMaps.kt.jet 2012-07-03 07:42:21 +01:00
James Strachan 9a6477c121 added simpler natural language text sample 2012-07-03 06:52:25 +01:00
Nikolay Krasko 83d0e8ebb5 - Merge https://github.com/JetBrains/kotlin/pull/90
- Move introduce and remove !! call to one class
2012-07-02 20:41:18 +04:00
Sergey Lukjanov d879827371 Test for "unnecessary non-null assertion quickfix should not displayed for 'value!!.foo()' case" has been added. 2012-07-02 20:41:17 +04:00
Pavel V. Talanov 62ff95205c Better fix for class object's visibility problem 2012-07-02 18:09:30 +04:00
Pavel V. Talanov 4b15023aec Turn off inlining. May be it'll help with KT-2314. 2012-07-02 17:29:10 +04:00
Pavel V. Talanov da24b36071 Turn on tests. 2012-07-02 17:29:09 +04:00
Pavel V. Talanov 5004b2e01b Separate library files which contain code and those which declarations only. Fixes builder test/ 2012-07-02 17:29:08 +04:00
Pavel V. Talanov 96b6f0955e Remove profiling configuration. 2012-07-02 17:29:07 +04:00
Pavel V. Talanov 53e77abefc Fix most of the tests. Turn off 3 of the tests temporarily. 2012-07-02 17:29:07 +04:00
Pavel V. Talanov 187c90ed3b Update for the previous fix for class object's visibility. 2012-07-02 17:29:06 +04:00
Pavel V. Talanov 3504106981 JsTests speed up: Analyze standard library only once. 2012-07-02 17:29:05 +04:00
Pavel V. Talanov 2975cda4d6 Fix a bug which caused class object's visibility to be ignored 2012-07-02 17:29:04 +04:00
Pavel V. Talanov 9878b60462 Fix KotlinLibTest and remove redundant tests. 2012-07-02 17:29:03 +04:00
Pavel V. Talanov 49c6555e5e JsTests speed up: cash the scope with Kotlin library. Refactor CodeGenerator class.
About 10% speed up (not much but still...)
2012-07-02 17:29:02 +04:00
Nikolay Krasko 72271cbdd4 Allow store nullable qualified names in object stubs 2012-07-02 17:16:09 +04:00
Nikolay Krasko de4e302578 Index package-level properties 2012-07-02 15:16:49 +04:00
James Strachan 3a196d6718 Merge pull request #88 from zolotov/fix-reverse-and-sort-for-lists
Fix reverse and sort functions for lists
2012-07-02 03:42:05 -07:00
James Strachan 0da54aac1c added a sample natural language test case as per this discussion http://devnet.jetbrains.net/thread/437088?tstart=0 2012-06-30 10:16:02 +01:00
James Strachan 63e0f169fc re-enabled compiling to JS test cases now we've fixed the compilation of the latest comparator based standard library code 2012-06-29 23:13:05 +01:00
Nikolay Krasko e06e5198ed Do not show classes in file node by default in project view 2012-06-29 19:40:58 +04:00
Nikolay Krasko c44ee27d9e Add information to plugin.xml about another stub index 2012-06-29 19:04:53 +04:00
Nikolay Krasko 5f2c22f944 Remove endless recursive call 2012-06-29 18:23:55 +04:00
Nikolay Krasko ce283d038a Declaration providers on stubs 2012-06-29 18:07:04 +04:00
Nikolay Krasko ede771935f Stub for object 2012-06-29 14:27:46 +04:00
Nikolay Krasko fed9df9858 Add qualified name to top level functions stub 2012-06-29 14:19:44 +04:00
Stepan Koltsov 2f64000917 repl: -classpath argument 2012-06-28 19:38:45 +04:00
Stepan Koltsov cd1211fcb3 repl: multiline 2012-06-28 19:38:44 +04:00
Stepan Koltsov dbc0d3c4e0 repl: better command parsing 2012-06-28 19:38:44 +04:00
Stepan Koltsov c0e8f3b911 repl: load command 2012-06-28 19:38:44 +04:00
Nikolay Krasko a0bbf24709 Add isAnnotation to class stub 2012-06-28 16:46:30 +04:00
Nikolay Krasko 66984a5f23 Fix test with file rename 2012-06-28 00:48:44 +04:00
Nikolay Krasko 4a0b13d11e KT-2254 Incorrect indentation after = in val:
#KT-2254 fixed
2012-06-27 21:01:55 +04:00
Natalia.Ukhorskaya d308311aeb Revert commit 0e07358362 2012-06-27 18:17:13 +04:00
Nikolay Krasko bade0e0275 Check that quick fixes don't produce new errors 2012-06-27 17:41:21 +04:00
Nikolay Krasko 0f2b3dbf14 Fix element removing - the previous one produced invalid postfix expression. 2012-06-27 17:40:51 +04:00
Nikolay Krasko 5ab1c796e0 Same file separators for generation tests on windows 2012-06-27 17:39:45 +04:00
Natalia.Ukhorskaya 0e07358362 Invokespecial instruction for invocation of private methods 2012-06-27 17:13:35 +04:00
Andrey Breslav f283873988 Generator rerun for added tests 2012-06-26 23:27:27 +02:00
Andrey Breslav 8611814bf4 Test data fixed 2012-06-26 23:25:52 +02:00
Andrey Breslav 0c910dba8b Supporting (predefined) classifier aliases in Lazy Resolve 2012-06-26 23:23:06 +02:00
Andrey Breslav ceafb5ddaf Using a function type in a supertype list removed from the test 2012-06-26 23:13:54 +02:00
Andrey Breslav eb4bcc35c0 Tuple classes have constructors 2012-06-26 23:13:54 +02:00
Andrey Breslav 06aa1478e6 A private constructor added to Nothing 2012-06-26 23:13:54 +02:00
Andrey Breslav 1361c70f68 FunctionN and ExtensionFunctionN are now abstract classes, not traits
+ Indexing of their type parameters is fixed (should match actual positions in the parameter list)

 The reason to make them classes:
 * This is how they are actually implemented in the JVM back-end (for performance)

 This can be reconsidered later, but seems to be a reasonable solution
2012-06-26 23:13:54 +02:00
Andrey Breslav a10d0e9c2b Type parameters of tuples and functions are not reified 2012-06-26 23:13:53 +02:00
Andrey Breslav 61d4f51cde THe 'reified' annotation respected in Lazy resolve 2012-06-26 23:13:53 +02:00