Browse Source

minor fix : treat TMono same as TDynamic

Nicolas Cannasse 16 years ago
parent
commit
b2ef697ab9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      genswf9.ml

+ 1 - 1
genswf9.ml

@@ -228,7 +228,7 @@ let rec type_id ctx t =
 
 let type_opt ctx t =
 	match follow t with
-	| TDynamic _ -> None
+	| TDynamic _ | TMono _ -> None
 	| _ -> Some (type_id ctx t)
 
 let type_void ctx t =