fix(ivy): incorrect injectable name logged in warning message on IE (#34305)
When we log DI errors we get the name of the provider via `SomeClass.name`. In IE functions that inherit from other functions don't have their own `name`, but they take the `name` from the lowest parent in the chain, before `Function`. I've added some changes to fall back to parsing out the function name from the function's string form. PR Close #34305
This commit is contained in:
@ -137,6 +137,9 @@
|
||||
{
|
||||
"name": "getOwnDefinition"
|
||||
},
|
||||
{
|
||||
"name": "getTypeName"
|
||||
},
|
||||
{
|
||||
"name": "getUndecoratedInjectableFactory"
|
||||
},
|
||||
|
Reference in New Issue
Block a user