Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: lib/declaration.ts

Issue 2434903002: Fix crash generating facades for loasd. Fix bug in how we handle TypePredicates. Add test for TypeP… (Closed)
Patch Set: Fix crash generating facades for loasd. Fix bug in how we handle TypePredicates. Add test for TypeP… Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/base.ts ('k') | lib/facade_converter.ts » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/declaration.ts
diff --git a/lib/declaration.ts b/lib/declaration.ts
index a3acb8e445576dcbc92395a33a6e90990ac76599..a21dd47deb2ead6410182670caacee9d1248b4dc 100644
--- a/lib/declaration.ts
+++ b/lib/declaration.ts
@@ -466,7 +466,7 @@ export default class DeclarationTranspiler extends base.TranspilerBase {
let arrayType = <ts.ArrayTypeNode>type;
paramType = arrayType.elementType;
} else if (type.kind !== ts.SyntaxKind.AnyKeyword) {
- console.log('Warning: falling back to dynamic for varArgs type: ' + type.getText());
+ console.error('Warning: falling back to dynamic for varArgs type: ' + type.getText());
}
}
« no previous file with comments | « lib/base.ts ('k') | lib/facade_converter.ts » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698