typo
This commit is contained in:
parent
3d72f4d416
commit
0d3ccee7d5
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ export const prettyS = (typevar, type) => {
|
||||||
}
|
}
|
||||||
export const prettySS = (rUni) => '{'+[...rUni].map(([symbol,type]) => `${prettyS(symbol,type)}`).join(', ')+'}';
|
export const prettySS = (rUni) => '{'+[...rUni].map(([symbol,type]) => `${prettyS(symbol,type)}`).join(', ')+'}';
|
||||||
|
|
||||||
export class IncompabibleTypesError extends Error {
|
export class IncompatibleTypesError extends Error {
|
||||||
constructor(typeA, typeB, nestedErr) {
|
constructor(typeA, typeB, nestedErr) {
|
||||||
const msg = `\nIncompatible types: ${prettyT(typeA)} and ${prettyT(typeB)}`;
|
const msg = `\nIncompatible types: ${prettyT(typeA)} and ${prettyT(typeB)}`;
|
||||||
if (nestedErr) {
|
if (nestedErr) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue