You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mention any other details that might be useful (optional)
It looks like the error comes from function inlining.
But I'm not sure if this problem is part of angular itself, or the TypeScript Compiler, or Uglify, or angular-cli because of bad default production settings.
The text was updated successfully, but these errors were encountered:
Versions
Repro steps
tsconfig.json
toes2015
ng serve ---target=production --environment=prod
)Observed behavior
In this line:
The problem is
(n = n)
. Becausen
is defined asconst n = this.xhrFactory.build();
Here are the corresponding lines in the angular source code:
o = ...
=url = ...
: https://github.com/angular/angular/blob/c8a1a14b87e5907458e8e87021e47f9796cb3257/packages/common/http/src/xhr.ts#L147n = n
: https://github.com/angular/angular/blob/c8a1a14b87e5907458e8e87021e47f9796cb3257/packages/common/http/src/xhr.ts#L25Desired behavior
No error ;-)
Mention any other details that might be useful (optional)
It looks like the error comes from function inlining.
But I'm not sure if this problem is part of angular itself, or the TypeScript Compiler, or Uglify, or angular-cli because of bad default production settings.
The text was updated successfully, but these errors were encountered: