Ver Fonte

Fix hover requests on stored type expr (#10877)

Rudy Ges há 2 anos atrás
pai
commit
bd62b70b93
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/context/typecore.ml

+ 1 - 1
src/context/typecore.ml

@@ -709,7 +709,7 @@ let store_typed_expr com te p =
 	let id = get_next_stored_typed_expr_id() in
 	let id = get_next_stored_typed_expr_id() in
 	com.stored_typed_exprs#add id te;
 	com.stored_typed_exprs#add id te;
 	let eid = (EConst (Int (string_of_int id, None))), p in
 	let eid = (EConst (Int (string_of_int id, None))), p in
-	id,((EMeta ((Meta.StoredTypedExpr,[],p), eid)),p)
+	id,((EMeta ((Meta.StoredTypedExpr,[],null_pos), eid)),p)
 
 
 let push_this ctx e = match e.eexpr with
 let push_this ctx e = match e.eexpr with
 | TConst ((TInt _ | TFloat _ | TString _ | TBool _) as ct) ->
 | TConst ((TInt _ | TFloat _ | TString _ | TBool _) as ct) ->