7ec49fd80e
Conflicts: src/compiler/diagnosticInformationMap.generated.ts src/compiler/diagnosticMessages.json src/compiler/emitter.ts tests/baselines/reference/objectTypesWithOptionalProperties.errors.txt
20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts(2,16): error TS1177: Binary digit expected.
|
|
tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts(3,17): error TS1177: Binary digit expected.
|
|
tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts(4,15): error TS1178: Octal digit expected.
|
|
tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts(5,15): error TS1178: Octal digit expected.
|
|
|
|
|
|
==== tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts (4 errors) ====
|
|
// Error
|
|
var binary = 0b21010;
|
|
|
|
!!! error TS1177: Binary digit expected.
|
|
var binary1 = 0B21010;
|
|
|
|
!!! error TS1177: Binary digit expected.
|
|
var octal = 0o81010;
|
|
|
|
!!! error TS1178: Octal digit expected.
|
|
var octal = 0O91010;
|
|
|
|
!!! error TS1178: Octal digit expected. |