Nicolas Cannasse 14 years ago
parent
commit
0924fe2b46
1 changed files with 2 additions and 0 deletions
  1. 2 0
      typer.ml

+ 2 - 0
typer.ml

@@ -1203,6 +1203,8 @@ and type_access ctx e p mode =
 				loop ((s,true,p) :: acc) e
 			| EConst (Ident i) ->
 				type_path ((i,false,p) :: acc)
+			| EConst (Type i) ->
+				type_path ((i,true,p) :: acc)
 			| _ ->
 				fields acc (type_access ctx (fst e) (snd e))
 		in