fixup! feat(ivy): Add AOT handling for bare classes with Input and Output decorators
This commit is contained in:
parent
70b1b8385f
commit
a2efa0691a
@ -81,7 +81,7 @@ export class Analyzer {
|
||||
this.handlers
|
||||
.map(handler => ({
|
||||
handler,
|
||||
decorator: handler.detect(clazz.declaration, clazz.decorators),
|
||||
match: handler.detect(clazz.declaration, clazz.decorators),
|
||||
}))
|
||||
.filter(isMatchingHandler);
|
||||
|
||||
@ -93,8 +93,8 @@ export class Analyzer {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const {handler, decorator} = matchingHandlers[0];
|
||||
const {analysis, diagnostics} = handler.analyze(clazz.declaration, decorator);
|
||||
const {handler, match} = matchingHandlers[0];
|
||||
const {analysis, diagnostics} = handler.analyze(clazz.declaration, match);
|
||||
let compilation = handler.compile(clazz.declaration, analysis, pool);
|
||||
if (!Array.isArray(compilation)) {
|
||||
compilation = [compilation];
|
||||
|
Loading…
x
Reference in New Issue
Block a user