Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove magicTypes.ml #11387

Merged
merged 1 commit into from
Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extra/haxelib_src
1 change: 0 additions & 1 deletion src/context/typecore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ type typer_globals = {
mutable load_only_cached_modules : bool;
functional_interface_lut : (path,tclass_field) lookup;
(* api *)
do_inherit : typer -> Type.tclass -> pos -> (bool * placed_type_path) -> bool;
do_macro : typer -> macro_mode -> path -> string -> expr list -> pos -> expr option;
do_load_macro : typer -> bool -> path -> string -> pos -> ((string * bool * t) list * t * tclass * Type.tclass_field);
do_load_module : typer -> path -> pos -> module_def;
Expand Down
101 changes: 0 additions & 101 deletions src/typing/magicTypes.ml

This file was deleted.

1 change: 0 additions & 1 deletion src/typing/typeloadCheck.ml
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ module Inheritance = struct
| HImplements t -> Some(false,t)
| t -> None
) herits in
let herits = List.filter (ctx.g.do_inherit ctx c p) herits in
(* Pass 1: Check and set relations *)
let check_herit t is_extends p =
let rec check_interfaces_or_delay () =
Expand Down
1 change: 0 additions & 1 deletion src/typing/typer.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2049,7 +2049,6 @@ let create com macros =
type_hints = [];
load_only_cached_modules = false;
functional_interface_lut = new pmap_lookup;
do_inherit = MagicTypes.on_inherit;
do_macro = MacroContext.type_macro;
do_load_macro = MacroContext.load_macro';
do_load_module = TypeloadModule.load_module;
Expand Down