TypeScript/tests/baselines/reference/parserParameterList2.errors.txt

9 lines
387 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList2.ts(2,5): error TS1015: Parameter cannot have question mark and initializer.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList2.ts (1 errors) ====
class C {
F(A?= 0) { }
~
!!! error TS1015: Parameter cannot have question mark and initializer.
2014-07-13 01:04:16 +02:00
}