mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-29 18:53:58 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			719 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			719 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // This file was procedurally generated from the following sources:
 | |
| // - src/class-elements/grammar-privatename-whitespace-error-static-async-gen-meth.case
 | |
| // - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
 | |
| /*---
 | |
| description: No space allowed between sigil and IdentifierName (Static Async Generator Method) (class expression)
 | |
| esid: prod-ClassElement
 | |
| features: [async-iteration, class-static-methods-private, class]
 | |
| flags: [generated]
 | |
| negative:
 | |
|   phase: parse
 | |
|   type: SyntaxError
 | |
| info: |
 | |
|     Updated Productions
 | |
| 
 | |
|     ClassElementName :
 | |
|       PropertyName
 | |
|       PrivateName
 | |
| 
 | |
|     PrivateName ::
 | |
|       # IdentifierName
 | |
| 
 | |
| ---*/
 | |
| 
 | |
| 
 | |
| $DONOTEVALUATE();
 | |
| 
 | |
| var C = class {
 | |
|   static async * # m() {}
 | |
| };
 |