View | Details | Raw Unified | Return to bug 263465
Collapse All | Expand All

(-)src/org/eclipse/wst/jsdt/internal/compiler/ast/MethodDeclaration.java (-1 / +1 lines)
Lines 98-104 Link Here
98
			// check for missing returning path
98
			// check for missing returning path
99
			TypeBinding returnTypeBinding = binding.returnType;
99
			TypeBinding returnTypeBinding = binding.returnType;
100
			boolean isJsDocInferredReturn = (binding.tagBits&TagBits.IsInferredJsDocType)!=0;
100
			boolean isJsDocInferredReturn = (binding.tagBits&TagBits.IsInferredJsDocType)!=0;
101
			if ((returnTypeBinding == TypeBinding.VOID) || isAbstract()) {
101
			if ((returnTypeBinding == TypeBinding.VOID || returnTypeBinding == TypeBinding.UNKNOWN) || isAbstract()) {
102
				this.needFreeReturn =
102
				this.needFreeReturn =
103
					(flowInfo.tagBits & FlowInfo.UNREACHABLE) == 0;
103
					(flowInfo.tagBits & FlowInfo.UNREACHABLE) == 0;
104
			} else {
104
			} else {

Return to bug 263465