fix(compiler): ignore calls to unresolved symbols in metadata (#15970)
This only shows up in the language service. Calls to symbols that are not resolve resulted in null instead of being resolved causing the language service to see exceptions when the null was not expected such as in the animations array. Fixes #15969
This commit is contained in:

committed by
Tobias Bosch

parent
2e47a0d19f
commit
ce47d33cd9
@ -601,7 +601,7 @@ export class StaticReflector implements ɵReflectorReader {
|
||||
case 'ignore':
|
||||
return expression;
|
||||
}
|
||||
return null;
|
||||
return IGNORE;
|
||||
}
|
||||
return mapStringMap(expression, (value, name) => simplify(value));
|
||||
}
|
||||
|
Reference in New Issue
Block a user