mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Properly marshall diagnostic codes to the managed layer
This commit is contained in:
1 parent
0625cc4650
commit
0b7453b9d6
1 file changed
+2
-1
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user