mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
394 B
Plaintext
13 lines
394 B
Plaintext
//// [tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression6.ts] ////
|
|
|
|
=== parserRegularExpression6.ts ===
|
|
declare var a;
|
|
>a : Symbol(a, Decl(parserRegularExpression6.ts, 0, 11))
|
|
|
|
a /= 1; // parse as infix
|
|
>a : Symbol(a, Decl(parserRegularExpression6.ts, 0, 11))
|
|
|
|
a = /=/; // parse as regexp
|
|
>a : Symbol(a, Decl(parserRegularExpression6.ts, 0, 11))
|
|
|