Basic type inference

This commit is contained in:
dcodeIO
2017-12-23 13:48:04 +01:00
parent ad298c7bea
commit ca9c79185b
9 changed files with 221 additions and 48 deletions

View File

@ -155,8 +155,6 @@ export class Type {
static readonly f64: Type = new Type(TypeKind.F64, 64);
/** No return type. */
static readonly void: Type = new Type(TypeKind.VOID, 0);
/** Special type used in type inference. Alias of {@link Type.void}. */
static readonly auto: Type = Type.void;
}
/** Converts an array of types to its combined string representation. Usually type arguments. */