asynchronous/bug793158.vala \
asynchronous/catch-error-scope.vala \
asynchronous/catch-in-finally.vala \
+ asynchronous/creation-missing-yield.test \
asynchronous/closures.vala \
asynchronous/finish-name.vala \
asynchronous/generator.vala \
error = true;
Report.error (source_reference, "yield expression not available outside async method");
}
+ } else if (m is CreationMethod) {
+ if (m.coroutine) {
+ error = true;
+ Report.error (source_reference, "missing `yield' before async creation expression");
+ }
}
// FIXME partial code duplication of MethodCall.check