Skip to content

issues Search Results · repo:acornjs/acorn-static-class-features language:JavaScript

Filter by

5 results
 (79 ms)

5 results

inacornjs/acorn-static-class-features (press backspace or delete to remove)

Here s a Stackblitz repo on @Josh-Cena s great repro: https://stackblitz.com/edit/stackblitz-starters-zw7gm8?file=index.js Just run node index.js and see the error. Try downgrading to acorn@8.10.x ...
  • Aungkhant884
  • 1
  • Opened 
    on Oct 29, 2023
  • #9

Originally via rollup/rollup#3702: At the moment, the following example throws with super keyword outside a method when parsed: class Foo extends Bar { static field = super.field + 1; } This should ...
  • lukastaegert
  • Opened 
    on Jul 29, 2020
  • #7

require( acorn ).Parser().extend( require( acorn-class-fields ), require( acorn-static-class-features ), ).parse( class X{static delete} ); SyntaxError: Unexpected token (1:21) at Object.pp$4.raise ...
  • LongTengDao
  • Opened 
    on May 22, 2020
  • #6

use strict ; Error.stackTraceLimit = 100; const parser = require( acorn ).Parser.extend(require( acorn-stage3 )); parser.parse(` class a { static get = 1; } `);// avoid error parser.parse(` class ...
  • LongTengDao
  • 2
  • Opened 
    on Aug 1, 2019
  • #2

Came across this in ncc here - https://github.com/zeit/ncc/issues/438. fast-glob contains something along these lines: class C { static () { } } Which is throwing a parser error when this plugin ...
  • guybedford
  • 1
  • Opened 
    on Jul 2, 2019
  • #1
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub