Svetlana Isakova
5c32f5f0e7
KT-1821 Write test for ITERATOR_AMBIGUITY diagnostic
...
#KT-1821 fixed
2012-04-18 22:04:28 +04:00
Svetlana Isakova
ae4b391c8e
KT-1820 Write test for ASSIGN_OPERATOR_AMBIGUITY
...
#KT-1820 fixed
2012-04-18 22:03:55 +04:00
Svetlana Isakova
1fa4698611
KT-1778 Automatically cast error
...
#KT-1778 fixed
2012-04-18 20:42:55 +04:00
Svetlana Isakova
08e18e5d9c
KT-1806 accessing private member in object class/anonymous object is not highlighted as error
...
#KT-1806 fixed
2012-04-18 19:59:34 +04:00
Svetlana Isakova
d08bb4e6ec
test for KT-1805 Better diagnostic for access to private field of parent class
...
#KT-1805 Fixed
2012-04-18 19:02:24 +04:00
Svetlana Isakova
1ed79d534f
KT-151 Inherit visibility when overriding
...
#KT-151 Fixed
Visibilities.INHERITED constant added (occurs only during resolve), changed after overridden descriptors resolve
Fake descriptors are created for invisible properties as well (is necessary for better error reporting)
2012-04-18 19:02:24 +04:00
Svetlana Isakova
b5bf4a626c
Reverted explicitly specifying visibility modifier while override
2012-04-18 19:02:24 +04:00
Svetlana Isakova
84f32c99ae
incomplete assignment bug from EA fixed
2012-04-17 15:00:04 +04:00
Andrey Breslav
0f98c281ab
KT-1781 Can't distinguish between two constructors
...
#KT-1781 Fixed
Now, if foo() and foo(vararg bar) both match the call site, the first one is preferred
2012-04-16 16:14:08 +04:00
Evgeny Gerashchenko
03fac49191
Got rid of storing diagnostic messages inside them: now they are generated on demand.
2012-04-13 19:31:45 +04:00
Stepan Koltsov
c08965c336
split GenericIterator test
2012-04-09 22:31:57 +04:00
Svetlana Isakova
2de69d8cd8
stop resolution if ambiguity is found
2012-04-06 20:42:51 +04:00
Svetlana Isakova
1372d70466
tests for incomplete code exceptions
2012-04-06 11:56:37 +04:00
Svetlana Isakova
7863b1398e
Resolve invisible references and mark them 'invisible' instead of mark them 'unresolved'
2012-04-05 18:36:46 +04:00
Svetlana Isakova
0ec24f5e3d
test fix
2012-04-04 19:02:26 +04:00
Svetlana Isakova
5520e1a2b0
'AbstractStringBuilder' has package private, so cannot be used in tests
2012-04-04 19:02:26 +04:00
Svetlana Isakova
2c0cee61fa
Added 'package' visibility for Java descriptors
2012-04-04 19:02:26 +04:00
Svetlana Isakova
0d462bf0bf
'private' package members should be visible for subpackages
2012-04-04 19:02:26 +04:00
Svetlana Isakova
ac0fd05463
test for:
...
#KT-323 Fixed Handle visibility interactions with overriding
2012-04-04 14:36:57 +04:00
Svetlana Isakova
2577683ce8
tests for:
...
#KT-1248 Fixed Control visibility of overrides needed
#KT-37 Fixed Typechecker doesn't complain about accessing non-public property
2012-04-04 14:36:57 +04:00
Svetlana Isakova
9b2eeb076e
KT-1717 Don't make member visibility inherit when it is not declared explicitly
...
#KT-1717 Fixed
2012-04-03 19:26:28 +04:00
Svetlana Isakova
e9788c12d9
member visibility inheritance; check visibility is not weaken added
2012-04-03 16:36:00 +04:00
Svetlana Isakova
c47e3957a7
return type can be omitted when override
2012-04-03 16:36:00 +04:00
Svetlana Isakova
4d37672809
added classes visibility check
2012-04-02 15:37:09 +04:00
Svetlana Isakova
e364fe4259
public methods in private classes visibility check
2012-04-02 15:37:09 +04:00
Alex Tkachman
ffbce7fe1e
KT-1589: Array<T>(size) renamed to arrayOfNulls
2012-04-02 14:30:37 +03:00
Svetlana Isakova
5419b0a3dc
Tests fixed after visibility changing
2012-03-30 13:38:36 +04:00
Svetlana Isakova
b0e301ae9f
Invisible call candidates removed from consideration
2012-03-30 13:38:35 +04:00
Andrey Breslav
320241d107
Proper error reporting when a package name redeclares something, wrt the package name occurring in multiple files
...
See MultiFilePackageRedeclaration.jet test
2012-03-29 16:18:42 +04:00
Andrey Breslav
0a42abc7c9
KT-1152 Only allow annotation classes to be instantiated as annotations
...
#KT-1152 Fixed
2012-03-28 19:40:45 +04:00
Andrey Breslav
5776fec84c
EA-34595 - ISE: MutableClassDescriptorLite.addSupertype
2012-03-28 18:58:09 +04:00
Svetlana Isakova
cd6f3139f0
Changed scope for initializer of extension property /*not to resolve things like val List.length = size() */
2012-03-28 13:14:35 +04:00
Svetlana Isakova
a91a53f7f1
KT-1531 Frontend should prohibit secondary constructors
...
# KT-1531 Fixed
2012-03-27 17:48:04 +04:00
Svetlana Isakova
7a782d4529
# KT-1571 Fixed. Frontend fails to check val reassigment for operator overloading.
2012-03-27 16:40:10 +04:00
Svetlana Isakova
48250050f8
test for KT-1580
2012-03-27 16:38:30 +04:00
Svetlana Isakova
bd5b84e697
# KT-1642 Fixed kotlin subpackages hide Java's toplevel packages
2012-03-27 16:20:59 +04:00
Svetlana Isakova
f7cfb36f62
# KT-1579 Fixed Can't import nested class/trait
2012-03-27 16:20:59 +04:00
Andrey Breslav
669126d635
Making compiler exit codes type safe. Fixes the problem with wrong command-line argument usage being missed by the IDE
2012-03-27 12:19:01 +04:00
Andrey Breslav
dd9c36387c
KT-987 Unboxing nulls
...
#KT-987 Fixed
2012-03-26 11:42:34 +04:00
Stepan Koltsov
8ad5db5bd9
Fix KT-1639: extend JFrame
...
#KT-1639 Fixed
2012-03-24 20:36:43 +04:00
Andrey Breslav
cf108765ae
KT-729 Need to support arrays as varargs: front-end checks done
...
#KT-729 In progress
2012-03-23 22:47:44 +01:00
Andrey Breslav
4cef4ec170
Fixed type checking in the case of
...
val s : String = !true
2012-03-23 10:44:52 +01:00
Andrey Breslav
7341a82b0b
Support for !! (analog of sure()/npe())
2012-03-23 10:44:51 +01:00
Stepan Koltsov
e2cb98df67
better import jet namespace
2012-03-19 23:25:27 +04:00
Svetlana Isakova
114988ac82
KT-1579 "Can't import nested class/trait" partially: Entry can be imported, but Map.Entry in code is still unresolved
2012-03-16 17:09:28 +04:00
Svetlana Isakova
9dc9e9984b
KT-1572 Frontend doesn't mark all vars included in closure as refs.
2012-03-14 15:07:33 +04:00
pTalanov
f326359bfe
KT-1550 Cannot use parenthesized array access expression.
2012-03-14 13:19:02 +04:00
Andrey Breslav
8019357bd5
KT-555 Parse error for generic function invocation
...
#KT-555 Fixed
2012-03-14 12:51:39 +04:00
Stepan Koltsov
3748507ac1
disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
...
+JDK was not very helpful
2012-03-12 22:54:24 +04:00
Stepan Koltsov
07ff53d456
add trailing newlines to test files
...
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00