Node: REPL: Node 12.0.0 unable to parse class properties

Created on 24 Apr 2019  路  4Comments  路  Source: nodejs/node

  • Version: v12.0.0
  • Platform: Darwin XX.z 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64

Screenshot 2019-04-24 at 19 50 35
Screenshot 2019-04-24 at 19 52 05

confirmed-bug repl

Most helpful comment

I am working on a fix.

All 4 comments

unfortunately we parse the repl input with acorn before actually running it, so its not a 1:1 match to what node actually supports.

I'm not entirely sure what to do about this.

I will close the issue then. Thanks @devsnek.

I am working on a fix.

image

Was this page helpful?
0 / 5 - 0 ratings