mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
484 B
Plaintext
13 lines
484 B
Plaintext
//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts] ////
|
|
|
|
=== fileJs.js ===
|
|
false ? (param): string => param : null // Not legal JS; "Unexpected token ':'" at last colon
|
|
>param : Symbol(param, Decl(fileJs.js, 0, 9))
|
|
>param : Symbol(param, Decl(fileJs.js, 0, 9))
|
|
|
|
=== fileTs.ts ===
|
|
false ? (param): string => param : null
|
|
>param : Symbol(param, Decl(fileTs.ts, 0, 9))
|
|
>param : Symbol(param, Decl(fileTs.ts, 0, 9))
|
|
|