jbee/purejin

Invalid use of a restricted identifier `yield`

Closed this issue · 2 comments

Found another yield method

https://github.com/jbee/silk/blob/25426965253062d0238e2db97b19175f042892a7/src/core/se/jbee/inject/container/InjectionSite.java#L92

Yields (pun intended):

src\core\se\jbee\inject\container\InjectionSite.java:56: error: invalid use of a restricted identifier 'yield'
				: yield(generators[i], site.instanced(hint.relativeRef));
				  ^
  (to invoke a method called yield, qualify the yield with a receiver or type name)
src\core\se\jbee\inject\container\InjectionSite.java:80: error: invalid use of a restricted identifier 'yield'
					preResolvedArgs[i] = yield(resource,
					                     ^
  (to invoke a method called yield, qualify the yield with a receiver or type name)
2 errors

See #77 (comment) -- rename it to generate as well?

jbee commented

rename it to generate as well?

yes, please

Erm, closed too early. Failed to target this origin with the PR...