2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList3.ts(2,9): error TS1016: A required parameter cannot follow an optional parameter.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList3.ts (1 errors) ====
|
|
|
|
class C {
|
|
|
|
F(A?, B) { }
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1016: A required parameter cannot follow an optional parameter.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|