2
0
Эх сурвалжийг харах

[java/cs] TVar is not typed as Void: Make a special case for it. Closes #3185

Cauê Waneck 11 жил өмнө
parent
commit
71a9761c1a
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      gencommon.ml

+ 2 - 0
gencommon.ml

@@ -5085,6 +5085,8 @@ struct
 			| TContinue -> right
 			| TParenthesis p | TMeta(_,p) ->
 				apply_assign assign_fun p
+			| TVar _ ->
+				right
 			| _ ->
 				match follow right.etype with
 					| TEnum( { e_path = ([], "Void") }, [] )