Commit Graph

6380 Commits

Author SHA1 Message Date
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
Andrey Breslav f0e0411847 Special classes (for Any and Nothing) introduced to Lazy Resolve 2012-06-26 23:13:53 +02:00
Andrey Breslav ac06825f08 jet.Any: modality and constructor straightened 2012-06-26 23:13:53 +02:00
Evgeny Gerashchenko ee1f1f3d56 Added check for extra and missing upper bounds in alternative signatures. 2012-06-27 00:44:14 +04:00
Evgeny Gerashchenko e59120f002 Got rid of warnings in AlternativeSignatureData. 2012-06-27 00:44:13 +04:00
Evgeny Gerashchenko 9044ec775f Minor reformatting. 2012-06-27 00:44:13 +04:00
Evgeny Gerashchenko 6f8f62cc9a Introduced AlternativeSignatureData.fail() method throwing exception. 2012-06-27 00:44:12 +04:00