From 0b7453b9d6475ffefa3f1dbd83e57d65a1416757 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Tue, 7 Oct 2014 13:31:21 -0700 Subject: [PATCH] Properly marshall diagnostic codes to the managed layer --- src/services/shims.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/shims.ts b/src/services/shims.ts index 40ce6c7b8d..c7d293794c 100644 --- a/src/services/shims.ts +++ b/src/services/shims.ts @@ -502,7 +502,8 @@ module ts { start: diagnostic.start, length: diagnostic.length, /// TODO: no need for the tolowerCase call - category: DiagnosticCategory[diagnostic.category].toLowerCase() + category: DiagnosticCategory[diagnostic.category].toLowerCase(), + code: diagnostic.code }; }