TypeScript/tests/baselines/reference/unicodeExtendedEscapesInTemplates07_ES5.errors.txt
Daniel Rosenwasser 3c344782e6 Merge branch 'master' into withANameLikeUnicodeYoudThinkThereWouldntBeSoManyWaysToDoIt
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-02-27 15:45:28 -08:00

11 lines
576 B
Plaintext

tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07_ES5.ts(4,19): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.
==== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07_ES5.ts (1 errors) ====
// ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp)
// 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
var x = `\u{110000}`;
!!! error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.