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
|
this.handlers
|
||||||
.map(handler => ({
|
.map(handler => ({
|
||||||
handler,
|
handler,
|
||||||
decorator: handler.detect(clazz.declaration, clazz.decorators),
|
match: handler.detect(clazz.declaration, clazz.decorators),
|
||||||
}))
|
}))
|
||||||
.filter(isMatchingHandler);
|
.filter(isMatchingHandler);
|
||||||
|
|
||||||
@ -93,8 +93,8 @@ export class Analyzer {
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
const {handler, decorator} = matchingHandlers[0];
|
const {handler, match} = matchingHandlers[0];
|
||||||
const {analysis, diagnostics} = handler.analyze(clazz.declaration, decorator);
|
const {analysis, diagnostics} = handler.analyze(clazz.declaration, match);
|
||||||
let compilation = handler.compile(clazz.declaration, analysis, pool);
|
let compilation = handler.compile(clazz.declaration, analysis, pool);
|
||||||
if (!Array.isArray(compilation)) {
|
if (!Array.isArray(compilation)) {
|
||||||
compilation = [compilation];
|
compilation = [compilation];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user