Skip to content

Remove binder from transpileDeclaration implementation. #138

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

Merged
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 0 additions & 1 deletion src/compiler/_namespaces/ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export * from "../transformers/module/system";
export * from "../transformers/module/esnextAnd2015";
export * from "../transformers/module/node";
export * from "../transformers/declarations/diagnostics";
export * from "../transformers/declarations/emitBinder";
export * from "../transformers/declarations/emitResolver";
export * from "../transformers/declarations/transpileDeclaration";
export * from "../transformers/declarations/localInferenceResolver";
Expand Down
714 changes: 90 additions & 624 deletions src/compiler/checker.ts

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions src/compiler/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,15 +356,6 @@ export namespace Debug {
}
}

/**
* Asserts the symbol is defined and is of the right kind (originating in TSC or sample DTE depending o the test that is currently being run)
* The default implementation just asserts the symbol is not null
* In tests it is overridden to ensure we don't accidentally use TSC symbols in DTE
*/
// eslint-disable-next-line prefer-const
export let assertSymbolValid = (symbol: Symbol) => {
assert(symbol, "Symbol not defined");
};
/**
* Asserts a value has the specified type in typespace only (does not perform a runtime assertion).
* This is useful in cases where we switch on `node.kind` and can be reasonably sure the type is accurate, and
Expand Down
914 changes: 0 additions & 914 deletions src/compiler/transformers/declarations/emitBinder.ts

This file was deleted.

Loading