소스 검색

[display] support Dynamic on typeDefinition

closes #7295
Simon Krajewski 7 년 전
부모
커밋
9b8f48031f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/context/display/displayEmitter.ml

+ 1 - 0
src/context/display/displayEmitter.ml

@@ -181,6 +181,7 @@ let raise_position_of_type t =
 				| TMono r -> (match !r with None -> raise_position [null_pos] | Some t -> follow_null t)
 				| TLazy f -> follow_null (lazy_type f)
 				| TAbstract({a_path = [],"Null"},[t]) -> follow_null t
+				| TDynamic _ -> !t_dynamic_def
 				| _ -> t
 		in
 		try