Commit Graph

1190 Commits

Author SHA1 Message Date
Stepan Koltsov 7ad452109f split SuperGenTest.basicmethod 2012-02-09 18:39:10 +04:00
Maxim Shafirov 8cfc443c93 KT-1220 2012-02-09 18:37:15 +04:00
Stepan Koltsov 30a74d77b5 specify return type of Tuple* property getters 2012-02-09 17:39:23 +04:00
Stepan Koltsov 02eb0201ea do not compile stdlib more then once for tests
if stdlib compilation fails then next test starts compilation again,
so all tests execute too long
2012-02-09 17:12:35 +04:00
Stepan Koltsov d69739a3d2 temp hack against KT-1214 2012-02-09 16:34:30 +04:00
Stepan Koltsov df3abbfbb6 diagnostics in CompileEnvironment 2012-02-09 16:34:26 +04:00
Andrey Breslav b7f5490b4c Fix value parameter indeices for function literals with receivers 2012-02-09 16:00:44 +04:00
svtk 255e37efb9 KT-799 Allow 'return' expressions in conditionals assigned to variables 2012-02-09 12:58:17 +04:00
Evgeny Gerashchenko cf5f419549 Added parser test for ide templates. 2012-02-08 21:12:42 +04:00
Evgeny Gerashchenko 3c14b1decd Added custom psi type for ide templates. 2012-02-08 21:12:42 +04:00
Evgeny Gerashchenko 7bbc121f72 Fixed parser test. 2012-02-08 16:13:25 +04:00
Evgeny Gerashchenko bc9f67b6e2 Made parser aware of object literals in statement position (they were parsed as object declarations) 2012-02-08 15:58:08 +04:00
Evgeny Gerashchenko 55caf9d30a Added recovery in JetParsing.parseMemberDeclaration() 2012-02-08 15:58:07 +04:00
Evgeny Gerashchenko 7010f3bd8e Added template for 'when' expression and entry. 2012-02-08 15:58:07 +04:00
Evgeny Gerashchenko ce48e39d40 Added template for 'for' loop. 2012-02-08 15:58:07 +04:00
Evgeny Gerashchenko 679862778c Added templates for named object. 2012-02-08 15:58:07 +04:00
Evgeny Gerashchenko e4953f60fb Added templates for class and trait. 2012-02-08 15:58:07 +04:00
Evgeny Gerashchenko 8d79ea4a2f Added templates for val and var. Removed corresponding keywords from completion. 2012-02-08 15:58:07 +04:00
Evgeny Gerashchenko ecdcfdb45a Made parser aware of templates in parameters, return type positions for all functions; of name, receiver positions for extension functions. 2012-02-08 15:58:06 +04:00
Evgeny Gerashchenko 7880ff4b61 Made parser aware of templates in function name position. 2012-02-08 15:58:06 +04:00
Evgeny Gerashchenko 29c465641b Added parsing of <#<template>#> blocks. 2012-02-08 15:58:06 +04:00
Nikolay Krasko 01e71cbd59 Don't add import if there's general import with .* exist 2012-02-08 15:27:41 +04:00
Nikolay Krasko e8ffaa28f3 Don't add import after insertion function with fqn 2012-02-08 12:53:56 +04:00
Stepan Koltsov 5f8a71eb21 validate type parameter indices in FunctionDescriptorImpl.initialize
TODO validate value parameter indices
2012-02-08 03:25:46 +04:00
Stepan Koltsov 0c821f947d split diagnostics/Override.jet test 2012-02-08 00:55:43 +04:00
Stepan Koltsov 11906ffd21 fix PropertyDescriptor.copy
it fails in certain situation, breaks test added in following commit
2012-02-08 00:55:37 +04:00
Stepan Koltsov ab455b92c3 assert class supertype is class 2012-02-07 23:21:58 +04:00
Alex Tkachman bb3ca16203 Speeding up codegen tests 2012-02-07 19:10:47 +02:00
Maxim Shafirov 8e6e3f683a In-the-process compiler 2012-02-07 20:51:41 +04:00
Nikolay Krasko d1409116f3 - KT-1147 Can't see local variable in completion
- Disable class level keywords from method parameters list
- Reorganize completion tests to separate methods
2012-02-07 20:06:29 +04:00
Alex Tkachman adfce7e22d KT-274 Enumeration.iterator() 2012-02-07 16:41:11 +02:00
Alefas 1d88960a19 Name suggester + tests.
Fixed commented introduce variable tests.
2012-02-07 18:22:38 +04:00
Nikolay Krasko d3c37f65e4 KT-1051 Java interoperability completion - invalidating java packages strategy 2012-02-07 13:29:21 +04:00
Maxim Shafirov f91fa19ea1 memoize psiClass() 2012-02-06 22:09:28 +04:00
Stepan Koltsov f4ffbd3360 properly rewrite *Descriptor owner in FunctionDescriptorImpl.copy() 2012-02-06 20:51:25 +04:00
Stepan Koltsov 7364633be3 remove overloading in FunctionDescriptorImpl constructor 2012-02-06 20:44:52 +04:00
Stepan Koltsov bbf2f60aef Revert "remove FunctionDescriptorImpl constructor overloading"
This reverts commit 964b66ecb1.
2012-02-06 20:39:04 +04:00
Stepan Koltsov b2944a1bd1 Revert "properly rewrite *Descriptor owner in FunctionDescriptorImpl.copy()"
This reverts commit d6907848c5.
2012-02-06 20:38:35 +04:00
Nikolay Krasko ce6850ae4d KT-1051 Java interoperability completion - fix java subpackages 2012-02-06 20:25:02 +04:00
Stepan Koltsov d6907848c5 properly rewrite *Descriptor owner in FunctionDescriptorImpl.copy() 2012-02-06 19:07:14 +04:00
Stepan Koltsov 964b66ecb1 remove FunctionDescriptorImpl constructor overloading 2012-02-06 18:20:03 +04:00
Alex Tkachman 09a8834220 inline variable 2012-02-06 16:16:13 +02:00
Nikolay Krasko e6197f0160 KT-801 Implement Naviagate -> Class... for kotlin 2012-02-06 16:36:36 +04:00
Maxim Shafirov 9e7581c856 Give up on cleaning loader properly 2012-02-06 16:19:41 +04:00
Nikolay Krasko afd8f380c9 Insert import on applying top level function completion 2012-02-06 15:47:34 +04:00
Maxim Shafirov 326c518dd9 remove debug mode, it's slow 2012-02-06 15:16:51 +04:00
Maxim Shafirov f80ad4c35a Yet another attempt to fix tests 2012-02-06 15:01:54 +04:00
Maxim Shafirov 87f3b649e6 Yet another attempt to fix tests 2012-02-06 14:15:37 +04:00
Alex Tkachman 3578d51cb1 Initial support for annotations 2012-02-05 11:29:04 +02:00
Stepan Koltsov ba15b59ff5 add missing JDK classes to mockJDK
java.lang.Appendable and several others
2012-02-04 12:49:35 +04:00