fix(compiler): generate the correct imports for summary type-check
Summaries should be ignored when importing the types used in a type-check block.
This commit is contained in:

committed by
Alex Rickabaugh

parent
d213a20dfc
commit
d91ff17adc
@ -152,7 +152,7 @@ export function utf8Encode(str: string): string {
|
||||
export interface OutputContext {
|
||||
genFilePath: string;
|
||||
statements: o.Statement[];
|
||||
importExpr(reference: any, typeParams?: o.Type[]|null): o.Expression;
|
||||
importExpr(reference: any, typeParams?: o.Type[]|null, useSummaries?: boolean): o.Expression;
|
||||
}
|
||||
|
||||
export function stringify(token: any): string {
|
||||
|
Reference in New Issue
Block a user