2014-10-01 02:15:18 +02:00
|
|
|
tests/cases/compiler/sourceMapValidationEnums.ts(2,5): error TS2300: Duplicate identifier 'x'.
|
2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/sourceMapValidationEnums.ts(4,5): error TS2300: Duplicate identifier 'x'.
|
|
|
|
|
|
|
|
|
2014-10-01 02:15:18 +02:00
|
|
|
==== tests/cases/compiler/sourceMapValidationEnums.ts (2 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
enum e {
|
|
|
|
x,
|
2014-10-01 02:15:18 +02:00
|
|
|
~
|
|
|
|
!!! error TS2300: Duplicate identifier 'x'.
|
2014-07-13 01:04:16 +02:00
|
|
|
y,
|
|
|
|
x
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2300: Duplicate identifier 'x'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
enum e2 {
|
|
|
|
x = 10,
|
|
|
|
y = 10,
|
|
|
|
z,
|
|
|
|
x2
|
|
|
|
}
|
|
|
|
enum e3 {
|
|
|
|
}
|