Community
Participate
Working Groups
Forked off from Bug 335764. > When accessing potential unresolved proxies, it is a good idea to check for a > > proxy. The most evident unchecked place to me is at the root of AcceleoServ > > ice.doGenerate where > > > > final EClassifier argumentType = template.getParameter().get(0).getType(); > > > > is unchecked and the unresolved proxy results in a very quick execution and no > > output for no matches. We can't check for proxies everywhere ... but yes, this particular access should be. Everywhere is certainly impractical, but most proxies are actually to contained objects so they are very unlikely to fail. The critical ones are type accesses that might resolve to a different module, these probably only occur in a couple of highly shared places.
Contributed on HEAD. It will be available in Acceleo 3.1 M7.