typo
This commit is contained in:
parent
0d3ccee7d5
commit
664f31447f
2 changed files with 8 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import assert from "node:assert";
|
||||
|
||||
import { getDefaultTypeParser } from "../lib/parser/type_parser.js";
|
||||
import { IncompabibleTypesError, subsitutionsEqual, unify } from "../lib/generics/unify.js";
|
||||
import { IncompatibleTypesError, subsitutionsEqual, unify } from "../lib/generics/unify.js";
|
||||
|
||||
|
||||
const assertSubsitutionsEqual = (m1,m2) => {
|
||||
|
|
@ -27,7 +27,7 @@ assert.throws(
|
|||
mkType("Bool")
|
||||
);
|
||||
},
|
||||
IncompabibleTypesError,
|
||||
IncompatibleTypesError,
|
||||
);
|
||||
|
||||
assertSubsitutionsEqual(
|
||||
|
|
@ -69,7 +69,7 @@ assert.throws(
|
|||
mkType("[b] -> b"),
|
||||
);
|
||||
},
|
||||
IncompabibleTypesError,
|
||||
IncompatibleTypesError,
|
||||
);
|
||||
|
||||
assertSubsitutionsEqual(
|
||||
|
|
@ -90,7 +90,7 @@ assert.throws(
|
|||
mkType("b -> (c -> b)"),
|
||||
);
|
||||
},
|
||||
IncompabibleTypesError,
|
||||
IncompatibleTypesError,
|
||||
// String,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue