2014-11-15 00:44:06 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.ts(3,5): error TS2304: Cannot find name 'undefinedVariable'.
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
|
2014-11-15 00:44:06 +01:00
|
|
|
==== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.ts (1 errors) ====
|
2014-11-11 20:31:45 +01:00
|
|
|
var x = {
|
|
|
|
x, // OK
|
|
|
|
undefinedVariable // Error
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
!!! error TS2304: Cannot find name 'undefinedVariable'.
|
|
|
|
}
|
|
|
|
|