Commit Graph

566 Commits

Author SHA1 Message Date
Andrey Breslav 82db2b789b KT-84 Lexer processes "!isFunction" code incorrectly 2011-10-17 19:56:09 +04:00
Andrey Breslav e38279899c New tests for nullability 2011-10-13 19:22:17 +04:00
Andrey Breslav 22223cb6b0 Vars modified in closures are marked with a MUST_BE_WRAPPED_IN_A_REF key 2011-10-13 19:11:20 +04:00
Andrey Breslav 86c83a6336 Tests fixed, request KT-358 submitted 2011-10-13 18:09:12 +04:00
Andrey Breslav 60ffd63a8e Merge remote branch 'origin/master'
Conflicts:
	compiler/frontend/src/org/jetbrains/jet/lang/types/JetTypeInferrer.java
2011-10-13 17:55:59 +04:00
Andrey Breslav cb00be336c Test data fixed 2011-10-13 17:49:08 +04:00
Andrey Breslav 8816bb4a47 Substitutions fixed for projections 2011-10-13 17:48:28 +04:00
svtk e32409e4bf 'containsBreak' checks that 'break' belongs to the right loop 2011-10-13 17:15:10 +04:00
svtk d9b4c972f7 Added return label check 2011-10-13 15:48:56 +04:00
Andrey Breslav 0fc516ffb6 Unnecessary UNRESOLVED_REFERENCE removed 2011-10-13 15:46:29 +04:00
Andrey Breslav ed08a859fa Error message moved to reference element 2011-10-13 15:46:09 +04:00
Andrey Breslav d0c2c82197 Namespace aliases fixed 2011-10-13 15:06:12 +04:00
Andrey Breslav a1be8afd61 Weak errors introduced 2011-10-13 14:39:47 +04:00
Andrey Breslav ae4ca1ef21 Fix for namespace in expression position vs no class object 2011-10-13 13:18:49 +04:00
Andrey Breslav 7427f3b3d6 Nullability properties of receivers checked 2011-10-12 16:17:21 +04:00
svtk 06a7fa1f16 Added information about 'nothing' to control flow graph 2011-10-12 15:07:11 +04:00
Andrey Breslav a39379edbf Receivers made available at CallResolver 2011-10-10 21:38:40 +04:00
svtk 868e024c93 More fixes for possible coercion to unit of type of last statement in block 2011-10-10 20:45:42 +04:00
svtk f6cf99cfcf kt343 fixed (Exceptions while function literal ends with no unit and 'Unit' is expected) 2011-10-09 15:08:41 +04:00
Alex Tkachman 9f53486922 failing test for kt343 2011-10-09 10:33:23 +02:00
svtk bdf4173680 Added error 'public member should specify type' and quick fix 2011-10-04 14:48:19 +04:00
svtk 29e76fda51 Merge branch 'master' of ssh://git.labs.intellij.net/jet 2011-10-03 17:47:39 +04:00
svtk 50418698db Changes after forbidding modality modifiers in accessors 2011-10-03 17:47:26 +04:00
Alex Tkachman 3e388cc4a4 array init 2011-09-30 18:05:36 +03:00
svtk 6bfaac9c34 Little fix: 'redundant modifier in trait' instead of 'redundant abstract' error 2011-09-30 16:01:45 +04:00
Alex Tkachman 8963aa70fe change for 9 array classes 2011-09-30 10:34:48 +03:00
Andrey Breslav f36438dee2 Type checking for default values 2011-09-29 21:34:39 +04:00
Andrey Breslav 5c8b060a49 Stub support for varargs 2011-09-29 21:05:05 +04:00
Andrey Breslav 4c27b5caf8 Named and default arguments tuned up a little bit 2011-09-29 20:28:03 +04:00
svtk 10f16627ef Added error 'abstract accessor of non abstract property' 2011-09-29 15:40:55 +04:00
svtk 7ec15fd00a Added tests for 'open' modifier checks 2011-09-29 14:20:57 +04:00
Alex Tkachman ea9e1bee85 array code gen rewrite and work in progress on outer type info 2011-09-29 12:55:35 +03:00
svtk b40b7ada4d Merge branch 'master' of ssh://git.labs.intellij.net/jet 2011-09-29 13:42:07 +04:00
svtk 225913126b Modifiers checks were moved to DeclarationsChecker; added 'open' modifier checks 2011-09-29 13:34:41 +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
svtk 7b2c5132f7 'Add primary constructor' quick fix added 2011-09-28 13:50:17 +04:00
svtk 3cc9740057 Merge branch 'master' of ssh://git.labs.intellij.net/jet 2011-09-28 11:59:03 +04:00
svtk 70d4826317 Tests for import class action added 2011-09-28 11:58:55 +04:00
Alex Tkachman 8a927d70d7 array codegen bugs 2011-09-28 10:54:45 +03:00
Andrey Breslav c8c740c52f Delegation by expression is accounted for in OverrideResolver
Delegated descriptors are generated and stored under DELEGATED trace slice
2011-09-27 15:32:29 +04:00
Andrey Breslav cc68fcabc6 Multiple errors of the same kind fixed 2011-09-27 12:35:03 +04:00
Andrey Breslav afad00fac5 Overriding var by val prohibited 2011-09-27 12:32:14 +04:00
Andrey Breslav 0cb2765ab0 Delegation is only allowed if the target type is a trait 2011-09-27 10:25:24 +04:00
Andrey Breslav fc243695f7 Confusion between vals and funs fixed 2011-09-26 21:09:10 +04:00
Andrey Breslav 87b22e810f JAVA_ROOT eliminated. Proper parents for everything except generic parameters of functions 2011-09-26 20:41:37 +04:00
Andrey Breslav 292fe08b9d More override control.
Renderers in errors.
Constructor parameters are not properties unless otherwise specified
2011-09-26 19:39:27 +04:00
Alex Tkachman 7880ba1e3f for(IntRange) improved 2011-09-25 08:16:44 +03:00
Alex Tkachman 50ed584a1f improved test 2011-09-24 23:10:11 +03:00
Alex Tkachman eba70a1e39 many bug fixes 2011-09-24 22:33:36 +03:00
Andrey Breslav 9465f42138 Constructors in objects 2011-09-23 19:37:33 +04:00