Commit Graph

25 Commits

Author SHA1 Message Date
Svetlana Isakova 7588c8d81f mark 'unresolved' if invoke method on type parameter
instead of resolve to error element
2013-04-12 20:01:09 +04:00
Svetlana Isakova 204ffde78a added errors TYPE_PARAMETER_ON_LHS_OF_DOT,
TYPE_PARAMETER_IS_NOT_AN_EXPRESSION
fixed exception from ea
2013-04-12 17:35:00 +04:00
Svetlana Isakova 3168b732d3 annotate 'getArrayExpression' with @Nullable @IfNotParsed
from EA
2013-04-12 17:34:59 +04:00
Svetlana Isakova d7412ecd9f fixed test data
type mismatch with nothing (after change in ConstraintSystemImpl)
render 'CANT_INFER' type as '???'
2013-03-07 13:11:21 +04:00
Svetlana Isakova 0530df6f7b use TypeCheckingProcedure for generating constraints
(in ConstraintSystemImpl)
2013-03-07 13:11:21 +04:00
Wojciech Lopata bc59ed75ca KT-1019 parser should recover from missing parentheses in function declaration
#KT-1019 Fixed
2013-02-28 12:00:33 +01:00
Evgeny Gerashchenko b9e5704057 Updated test data and stdlib sources. 2013-02-13 18:08:37 +04:00
Svetlana Isakova 33a82da493 supertype of error type should be an error type, not any 2013-01-10 15:55:50 +04:00
Svetlana Isakova 142d9a090c no senseless comparison for error type 2013-01-10 15:55:50 +04:00
Svetlana Isakova 55968aabad fixed an exception from 'getConstructorReferenceExpression'
(from exception analyzer)
2012-12-29 20:08:10 +04:00
Svetlana Isakova 41864c29b2 analyze left expression in assignment operation
when it's incomplete
2012-11-16 15:32:59 +04:00
Svetlana Isakova 126f5e1668 check debug info errors in diagnostic tests 2012-11-16 15:32:59 +04:00
Andrey Breslav 6feceaa161 PsiElement for receiver declaration in a function type
This fixes the following assertion:

EA-37795 - assert: DescriptorResolver.checkBounds

java.lang.AssertionError: (
        public val categoryName: String,
        public val defaultReoccurrenceRate: DateReoccurrence,
        datesCollection: Collection<Date>) {

	at org.jetbrains.jet.lang.resolve.DescriptorResolver.checkBounds(DescriptorResolver.java:1137)
	at org.jetbrains.jet.lang.resolve.TypeHierarchyResolver.checkTypesInClassHeaders(TypeHierarchyResolver.java:447)
	at org.jetbrains.jet.lang.resolve.TypeHierarchyResolver.process(TypeHierarchyResolver.java:154)
	at org.jetbrains.jet.lang.resolve.TopDownAnalyzer.doProcess(TopDownAnalyzer.java:125)

Caused by misbehavior of the JetFunctionType class
2012-11-06 15:29:14 +04:00
Andrey Breslav e8bd42b691 KT-2729 Warn on 'T?' where 'T' has a nullable upper bound 2012-10-19 19:42:54 +04:00
Svetlana Isakova b7966f4512 test fixed 2012-08-22 13:41:27 +04:00
Svetlana Isakova 5779ac15c0 Not get supertypes of Nothing
(exception EA-37833)
2012-08-22 12:35:06 +04:00
Andrey Breslav 3d8d92c7d3 JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00
Svetlana Isakova 190360b1d4 EA-35501 fixed (checkBackingField assert) 2012-06-22 19:02:03 +04:00
Svetlana Isakova b22a7dbf99 KT-2014 Better diagnostic when using property syntax to call a method
#KT-2014 fixed
2012-05-23 21:53:17 +04:00
Svetlana Isakova b63d3905f9 KT-1256 Error highlighting in IDE should be less annoying
#KT-1256 fixed
2012-05-22 18:23:51 +04:00
Svetlana Isakova b1e5a0768c KT-1955 Half a file is red on incomplete code
#KT-1955 fixed
2012-05-11 15:03:23 +04:00
Svetlana Isakova ebff94a632 NPE from EA fixed 2012-04-27 22:27:38 +04:00
Svetlana Isakova 77dad4fbfb incomplete code from EA 2012-04-18 22:04:55 +04:00
Svetlana Isakova 84f32c99ae incomplete assignment bug from EA fixed 2012-04-17 15:00:04 +04:00
Svetlana Isakova 1372d70466 tests for incomplete code exceptions 2012-04-06 11:56:37 +04:00