Properly marshall diagnostic codes to the managed layer
This commit is contained in:
parent
0625cc4650
commit
0b7453b9d6
|
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue