fix(compiler-cli): don't clone static symbols when simplifying annotation metadata (#12158)
This commit is contained in:

committed by
Tobias Bosch

parent
7787771aba
commit
8c477b2f45
@ -368,6 +368,9 @@ export class StaticReflector implements ReflectorReader {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
if (expression instanceof StaticSymbol) {
|
||||
return expression;
|
||||
}
|
||||
if (expression) {
|
||||
if (expression['__symbolic']) {
|
||||
let staticSymbol: StaticSymbol;
|
||||
|
Reference in New Issue
Block a user