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
In the context of my master thesis, I try to come up with new mutators specifically for Angular web applications. One of my mutator transformed this code: new UntypedFormControl('', { nonNullable: true, validators: [Validators.maxLength(80)] })
into this replacement string: "new UntypedFormControl('', {\n nonNullable: true\n })"
This replacement, however, leads to this error when clicking on it in the html report: Uncaught Error: Cannot find corresponding opening tag for </span>
This seems like a bug to me. For some strange reason, if insert two whitespaces at the end of the first line of the replacement string (before the first \n), this error does not occur. The following replacement string thus works: "new UntypedFormControl('', { \n nonNullable: true\n })"
I just wanted to let you know about this behavior in case this really is a bug.
Additionally, I wanted to briefly mention that the highlighting of the sections which have changed due to the mutation does not work starting with the second line of the replacement code. Only in the first line of the replacement code the changes are correctly highlighted.
Have a nice day,
Kind regards
Sarah
The text was updated successfully, but these errors were encountered:
In the context of my master thesis, I try to come up with new mutators specifically for Angular web applications. One of my mutator transformed this code:
new UntypedFormControl('', { nonNullable: true, validators: [Validators.maxLength(80)] })
into this replacement string:
"new UntypedFormControl('', {\n nonNullable: true\n })"
This replacement, however, leads to this error when clicking on it in the html report:
Uncaught Error: Cannot find corresponding opening tag for </span>
This seems like a bug to me. For some strange reason, if insert two whitespaces at the end of the first line of the replacement string (before the first \n), this error does not occur. The following replacement string thus works:
"new UntypedFormControl('', { \n nonNullable: true\n })"
I just wanted to let you know about this behavior in case this really is a bug.
Additionally, I wanted to briefly mention that the highlighting of the sections which have changed due to the mutation does not work starting with the second line of the replacement code. Only in the first line of the replacement code the changes are correctly highlighted.
Have a nice day,
Kind regards
Sarah
The text was updated successfully, but these errors were encountered: