Skip to content
Snippets Groups Projects
err-delete-call-expression-private-method-async-gen.case 469 B
Newer Older
  • Learn to ignore specific revisions
  • jbhoosreddy's avatar
    jbhoosreddy committed
    // Copyright (C) 2018 Bloomberg LP. All rights reserved.
    
    // This code is governed by the BSD license found in the LICENSE file.
    
    /*---
    
    desc: >
      It's a SyntaxError if delete operator is applied to CallExpression.PrivateName
      async generator
    
    features: [class-methods-private, async-iteration]
    
    ---*/
    
    //- infieldsetup
    g = this.f;
    //- infunctionsetup
    var g = this.f;
    //- expression
    
    jbhoosreddy's avatar
    jbhoosreddy committed
    f() {
    return this;
    }
    async *#m() {}