Browse Source

[parser] sync with vshaxe for ITType

Simon Krajewski 7 years ago
parent
commit
af219b98a0
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/context/displayTypes.ml

+ 1 - 4
src/context/displayTypes.ml

@@ -143,10 +143,7 @@ module CompletionKind = struct
 				"name",jstring s;
 				"type",generate_type ctx t
 			]
-			| ITType(mt,rm) -> "Type",jobject [
-				"modulePath",generate_path (t_infos mt).mt_path;
-				"resolutionMode",jtodo;
-			]
+			| ITType(mt,rm) -> "Type",generate_module_type (Genjson.create_context()) mt (* TODO: resolution mode *)
 			| ITPackage s -> "Package",jstring s
 			| ITModule s -> "Module",jstring s
 			| ITLiteral(s,_) -> "Literal",jstring s