Skip to content
Snippets Groups Projects
  • André Bargull's avatar
    5ec3bd7d
    Fix more issues in eval tests for class-fields · 5ec3bd7d
    André Bargull authored
    Changes:
    
    - Changed eval-err-contains-supercall-1.case to add a property access similar to eval-err-contains-supercall-2.case, without this property access eval-err-contains-supercall-1.case would be identical to eval-err-contains-supercall.case.
    - Remove unnecessary "earlyerror" and "executionerror" template arguments when the value is already clear from the context.
    - Fixed the description in eval-err-contains-supercall-2.case to refer to the correct early error rule.
    - Fixed a copy-paste error in eval-err-contains-superproperty-1.case and eval-err-contains-superproperty-2.case.
    - Split initializer-eval-super into initializer-eval-super-call and initializer-eval-super-property, because we actually need to test different behaviour for the super-call compared to the super-property case.
    - Split initializer-eval into initializer-eval-arguments and initializer-eval-newtarget, because `arguments` and `new.target` are differently handled in class-fields.
    - And fixed other copy-paste errors in the template files.
    
    Fixes #1325
    5ec3bd7d
    History
    Fix more issues in eval tests for class-fields
    André Bargull authored
    Changes:
    
    - Changed eval-err-contains-supercall-1.case to add a property access similar to eval-err-contains-supercall-2.case, without this property access eval-err-contains-supercall-1.case would be identical to eval-err-contains-supercall.case.
    - Remove unnecessary "earlyerror" and "executionerror" template arguments when the value is already clear from the context.
    - Fixed the description in eval-err-contains-supercall-2.case to refer to the correct early error rule.
    - Fixed a copy-paste error in eval-err-contains-superproperty-1.case and eval-err-contains-superproperty-2.case.
    - Split initializer-eval-super into initializer-eval-super-call and initializer-eval-super-property, because we actually need to test different behaviour for the super-call compared to the super-property case.
    - Split initializer-eval into initializer-eval-arguments and initializer-eval-newtarget, because `arguments` and `new.target` are differently handled in class-fields.
    - And fixed other copy-paste errors in the template files.
    
    Fixes #1325