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

9 lines
537 B
Plaintext
Raw Normal View History

2015-05-05 01:15:55 +02:00
tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck40.ts(2,21): error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
2015-05-30 20:41:33 +02:00
==== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck40.ts (1 errors) ====
2015-05-05 01:15:55 +02:00
function* g() {
class C extends (yield 0) { }
~~~~~~~~~
!!! error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
}