Commit Graph

86 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 6e43b78deb KT-3459 "import java.util.*" is removed by optimize imports if the only usage is a SAM constructor
#KT-3459 fixed
2013-04-03 17:44:01 +04:00
Evgeny Gerashchenko 66e7a0110c Updated test data and stdlib code which dependent on Tuple0/Unit
aliasing.
2013-03-22 16:38:24 +04:00
Evgeny Gerashchenko c458ed36f6 Renamed test data dir. 2013-03-22 16:37:16 +04:00
Evgeny Gerashchenko afe54098be Removed tuples from BuiltInsReferenceResolverTest. 2013-03-22 16:37:16 +04:00
Andrey Breslav 9387c974bd Resolving references to builtins: first loading Unit.jet, and then the rest of the library
Test data fixed to get rid of jet.src directory
2012-10-17 14:38:22 +04:00
Andrey Breslav 5eaa5b396b Removing usages of tuples from test data
(KT-2358 Drop tuples)
 #KT-2358 In progress
2012-09-18 20:27:09 +04:00
Evgeny Gerashchenko 8aa13a301c Added standard library reference resolver test cases with equals and toString functions. 2012-09-17 18:01:40 +04:00
Evgeny Gerashchenko c6a040a380 Removed sure() function from built-ins. 2012-09-17 18:00:22 +04:00
Nikolay Krasko 8fd52a9095 Two tests for resolved reference 2012-09-07 21:01:59 +04:00
Nikolay Krasko 4376c7a87c Use separate test methods instead of generated suit 2012-09-07 21:01:57 +04:00
Svetlana Isakova b4e3c36c5e resolve constructor reference in standard library 2012-09-05 18:55:18 +04:00
Svetlana Isakova 0b4b515ad7 navigate to several elements if there are many
(not only in ambiguity case)
2012-09-05 18:55:17 +04:00
Evgeny Gerashchenko 592f01ed74 Made StandardLibraryReferenceResolver aware of class objects in built-ins. 2012-08-09 19:14:31 +04:00
Evgeny Gerashchenko 6f3f1a11f4 Added test cases for StandardLibraryReferenceResolverTest. 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko cfb0844706 Added test microframework and simple test for checking resolving of references to standard library. 2012-05-12 21:56:45 +04:00
Nikolay Krasko e723abb3b9 KT-763 Ctrl click failed on unresolved reference 2012-01-11 19:32:30 +04:00
Andrey Breslav fb971ff7cb Tests moved to appropriate locations 2011-10-21 13:37:14 +04:00
Dmitry Jemerov ec6dec0d37 separate compiler and plugin tests 2011-10-20 16:21:18 +02:00
Andrey Breslav e91d20f326 KT-156 Fix the this<Super> syntax 2011-10-20 18:00:19 +04:00
Andrey Breslav 79ee5cd606 KT-156 Fix the this<Super> syntax
In progress: super<List> must work, but currently it does not, only super<List<Foo>> works, where Foo is ignored.
2011-10-19 19:24:46 +04:00
Alex Tkachman 8963aa70fe change for 9 array classes 2011-09-30 10:34:48 +03:00
Andrey Breslav 4c5d74ea93 KT-300 Overload ambiguity while accessing range 2011-09-12 21:32:56 +04:00
Andrey Breslav 16dcbd41cb "trait" instead of "trait class"
virtual -> open
 "final" introduced
 "wraps" dropped
2011-09-09 16:16:05 +04:00
Andrey Breslav b632fc31d9 Tests fixed, and error messages a little 2011-09-05 19:35:31 +04:00
Andrey Breslav 324922506c Little corrections 2011-09-02 17:33:37 +04:00
Andrey Breslav 57fcf53e3a Tests fixed 2011-08-31 22:29:23 +04:00
Andrey Breslav ee61fa7e10 JET-142 Support string templates:
Make '$' in short entries a separate token
2011-07-12 13:37:18 +04:00
Andrey Breslav 591740717a JET-142 Support string templates 2011-07-11 23:02:18 +04:00
Andrey Breslav e0d597a1bc JET-140 Change function type syntax
and tests for
JET-168 Improve the parser for function and tuple types as receiver types
2011-07-06 18:18:11 +04:00
Andrey Breslav 760b643df9 SimplesClosure test fixed. 2011-06-20 16:18:49 +04:00
Andrey Breslav c2fbbff782 JET-50 Drop the 'new' keyword 2011-06-15 18:00:22 +04:00
Andrey Breslav e4e5c7b0dc JET-94 Support enum classes 2011-06-14 22:06:56 +04:00
Andrey Breslav cc54631209 JET-86: Report errors for class objects 2011-06-04 15:32:45 +04:00
Andrey Breslav f0b8ef6946 Support for local objects 2011-06-03 16:02:26 +04:00
Andrey Breslav 36470388c4 Tests for objects + delegation specifier resolution + override bindings for objects 2011-06-03 15:09:47 +04:00
Andrey Breslav 7a8ea7fd88 JET-65 Identifier in initializer block resolves to constructor parameter instead of property
+
Scopes for secondary constructors fixed
2011-06-02 13:35:45 +04:00
Andrey Breslav a676c960cf 'this' is resolved to the corresponding declaration in labeled function literals 2011-05-30 16:02:51 +04:00
Andrey Breslav 6a03ec3878 Tests fixed
+
'this' is resolved to the corresponding declaration
2011-05-27 16:16:52 +04:00
Andrey Breslav b950a82fcd Qualified this resolved correctly 2011-05-27 13:54:46 +04:00
Andrey Breslav 1d948b0153 JET-49 Resolve extension functions with generic receivers
+
Error report fixed for 'new java.util.List<Int>'
2011-05-24 19:07:53 +04:00
Andrey Breslav dd612c74e3 JET-39 Process ?. correctly in the receiver types 2011-05-23 10:42:50 +04:00
Andrey Breslav 0afddb4d9e Resolve for receiver-properties (generic arguments are not supported) 2011-05-20 18:06:59 +04:00
Andrey Breslav 00e2c9dde3 Preliminary support for extension functions: they participate in overload resolution only if no such name is found in the receiver type itself. 2011-05-19 00:11:09 +04:00
Andrey Breslav 0f63489f7c All tests pass 2011-05-16 20:48:51 +04:00
Andrey Breslav ba221419b4 JET-18 Resolve references to value parameters of the primary constructor to parameter or property descriptors according to the semantics 2011-05-04 14:12:36 +04:00
Andrey Breslav e46792a80e Fixed the typechecking for try..catch 2011-05-03 12:25:54 +04:00
Andrey Breslav d23a76b64d JET-6 Perform checks for primary and secondary constructors (In progress) 2011-04-26 17:00:07 +04:00
Andrey Breslav 43742828c4 Multiple declarations contributing to the same namespace are supported 2011-04-25 18:54:18 +04:00
Andrey Breslav 968e22f999 Working on constructors: references on 'this()' calls, etc. Many checks pending 2011-04-22 21:45:44 +04:00
Andrey Breslav d9997f3c25 Generic Java classes supported 2011-04-22 18:25:09 +04:00