Author Topic: RC3: ES6 class methods defs not shown [again]  (Read 692 times)

PiezonTM

  • Senior Community Member
  • Posts: 122
  • Hero Points: 7
RC3: ES6 class methods defs not shown [again]
« on: October 05, 2017, 02:23:35 pm »
I previously reported an ES6 problem with the 'defs' window. (https://community.slickedit.com/index.php/topic,15521.msg59098.html#msg59098)

I have found another use case with the same problem.  I have isolated this to a single line of code.  Try the attached file.  It is broke by default.  Comment out Line 7 and the problem goes away.

PiezonTM

  • Senior Community Member
  • Posts: 122
  • Hero Points: 7
Re: RC3: ES6 class methods defs not shown [again]
« Reply #1 on: October 05, 2017, 02:27:20 pm »
I took it further.  The line that creates the problem is:
Code: [Select]
this._choices = { in: [], out: [] };

If you remove the
Code: [Select]
in: [], then the problem goes away, like:

Code: [Select]
this._choices = { out: [] };

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4736
  • Hero Points: 382
Re: RC3: ES6 class methods defs not shown [again]
« Reply #2 on: October 05, 2017, 02:30:55 pm »
That line is definitely throwing the parser out of wack. Thanks for posting. We will work on a fix for this.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4736
  • Hero Points: 382
Re: RC3: ES6 class methods defs not shown [again]
« Reply #3 on: October 05, 2017, 09:40:10 pm »
This will be fixed in the next build (RC 4)