Commit Graph

54 Commits

Author SHA1 Message Date
svtk 70d0cd882b KT-650 Prohibit creating class without constructor 2012-01-24 16:58:29 +04:00
svtk 7fae503a38 KT-1080 Don't use previously imported packages while resolving import references 2012-01-20 11:58:17 +04:00
svtk 390eb0cde3 forbid import of functions and properties from objects 2012-01-12 18:39:25 +04:00
Nikolay Krasko 0573efa6fb KT-960 import namespace should give unresolved reference 2012-01-11 13:55:20 +04:00
Andrey Breslav 2d78ccb9e1 Annotator test data fixed 2011-12-27 14:54:41 +04:00
Andrey Breslav f52eae71d0 GreatSyntacticShift: 'namespace' -> 'package' 2011-12-25 15:51:59 +04:00
Andrey Breslav 889c7c0002 GreatSyntacticShift: erroneous fix reverted 2011-12-21 11:48:24 +02:00
Andrey Breslav f67c6549eb GreatSyntacticShift: Codegen testdata fixed 2011-12-21 11:45:50 +02:00
Andrey Breslav 3808bff1ce GreatSyntacticShift: Checker test data fixed 2011-12-21 11:24:04 +02:00
svtk 63d74d41af KT-328 completion //Local function in function literals cause exceptions 2011-12-09 17:37:38 +04:00
svtk ba49f508c9 KT-609 Analyze not only local variables, but function parameters as well in 'unused values' analysis 2011-11-29 19:04:15 +04:00
svtk a7bb30a18c "Unused value" error added to existed tests 2011-11-24 15:59:44 +04:00
svtk 44ae29b01d Merge branch 'master' of ssh://git.labs.intellij.net/jet 2011-10-28 13:44:39 +04:00
Dmitry Jemerov a3f8a088be JetPsiCheckerTest and its testdata moved back to plugin tests 2011-10-27 18:44:39 +02:00
Dmitry Jemerov ec6dec0d37 separate compiler and plugin tests 2011-10-20 16:21:18 +02:00
svtk 50418698db Changes after forbidding modality modifiers in accessors 2011-10-03 17:47:26 +04:00
svtk 10f16627ef Added error 'abstract accessor of non abstract property' 2011-09-29 15:40:55 +04:00
Andrey Breslav 1c299fe536 Deferred types are computed at the end of the top-down analysis 2011-09-28 14:19:51 +04:00
Andrey Breslav 350a77cab5 Coercion to Unit fixed 2011-09-15 14:31:02 +04:00
Andrey Breslav bacd514919 Merge remote branch 'origin/master' 2011-09-13 17:17:52 +04:00
Andrey Breslav 910ba57f8a KT-303 Stack overflow on a cyclic class hierarchy 2011-09-13 17:17:45 +04:00
svtk 74cbb69fd0 KT-251 fixed 2011-09-13 15:38:12 +04:00
svtk 4071d67c41 Added static checks for properties in traits; more tests for 'abstract' 2011-09-12 16:01:48 +04:00
Andrey Breslav 16dcbd41cb "trait" instead of "trait class"
virtual -> open
 "final" introduced
 "wraps" dropped
2011-09-09 16:16:05 +04:00
svtk c798503c81 Added 'override' checks 2011-09-09 11:51:10 +04:00
Andrey Breslav 71bc41a938 KT-286 Check supertype lists (in progress)
Tests involving multiple inheritance fixed
2011-09-08 16:20:01 +04:00
Andrey Breslav 67925fcda4 Wrong trace in call resolver fixed 2011-09-06 15:55:42 +04:00
svtk d6336d9ca5 partial support for 'abstract' modifier added 2011-09-06 14:57:42 +04:00
Andrey Breslav 3242c70c6f Infix calls and nullable receivers 2011-09-06 13:27:33 +04:00
svtk fa631503ef partial support for 'abstract' modifier added 2011-09-06 13:25:56 +04:00
Andrey Breslav c1dbe9eee2 Specificity by receiver fixed. Test updated 2011-09-06 13:16:05 +04:00
Andrey Breslav 9223875977 Overrides do not collide in resolution any more 2011-09-05 19:08:07 +04:00
Andrey Breslav 829910f2c2 Ambiguities not reported when some types were not obtained (i.e. there are errors in the argument list) 2011-08-29 15:26:34 +04:00
Andrey Breslav 86e8142e3c Working on type inference for function literals 2011-08-26 17:51:15 +04:00
svtk 671b8913ed frontend bugs fixed:
fun f(): Int = "s" //was ok
  fun g(): Int { if (1 < 2) {} else {} }//was ok
  fun h(): Int { val a = 1 } //was ok
2011-08-05 17:43:32 +04:00
Andrey Breslav 117cead179 JET-183 Typechecker fails with enum constants
+
Tests for annotations
2011-07-14 19:04:07 +04:00
Andrey Breslav 42397c887a JET-183 Typechecker fails with enum constants 2011-07-13 18:01:51 +04:00
Andrey Breslav d1b8a6b5c7 Multiple conditions in when entries 2011-07-06 19:36:09 +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 a35e67d043 JET-124 Sometimes local variables are not resolved in the callee position 2011-06-27 14:43:31 +04:00
Andrey Breslav 3342515892 JET-121 Extension closure scope, empty? 2011-06-23 20:30:21 +04:00
Andrey Breslav 5968740638 'this()' resolution fixed for generic classes 2011-06-16 20:06:57 +04:00
Andrey Breslav c2fbbff782 JET-50 Drop the 'new' keyword 2011-06-15 18:00:22 +04:00
Andrey Breslav 3cacb512a3 Working on bindings in ifs 2011-06-13 14:33:32 +04:00
Andrey Breslav a32c7a4d87 A test for JET-53 Support import of individual classes from Java packages 2011-06-04 18:35:30 +04:00
Andrey Breslav 2350a8a731 JET-81 Assertion fails when processing in self-referring anonymous objects 2011-06-03 17:11:27 +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 97de457f79 JET-72 Type inference doesn't work when iterating over ArrayList:
substitutions fixed for methods inherited from generic superclasses
2011-06-01 18:17:28 +04:00
Andrey Breslav dc25c7bb3b Test for JET-68 + regression tests turned on 2011-06-01 15:25:11 +04:00
Andrey Breslav c1dc1ebdac JET-69 Lookup equals() in a non-null type of the receiver. 2011-05-30 20:12:31 +04:00