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

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
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: 140
  • Hero Points: 8
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: 6866
  • Hero Points: 528
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: 6866
  • Hero Points: 528
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)