Author Topic: B3: ES6 class methods defs not shown  (Read 791 times)

PiezonTM

  • Senior Community Member
  • Posts: 123
  • Hero Points: 7
B3: ES6 class methods defs not shown
« on: September 07, 2017, 06:29:08 pm »
Depending on a single line of code that I isolated will prevent the outer class methods from being shown in the "Defs" window.

With the attached "es6sample.js" file you will NOT see OUTER_METHOD or OUTER_METHOD2 in the listing--or any other outer method following the one line of code.  But you'll see the method outer methods private functions. (see defsWithProblem.png)

Now, comment out line 28
Code: [Select]
someVar: -1

The "Defs" windows WILL show the OUTER_METHOD or OUTER_METHOD2 in the listing. (see defsWithoutProblem.png)

SlickEdit Pro 2017 (v22.0.0.3 64-bit)

Serial number: FE17393_BETA
License type: Beta License
License expiration: 2017-11-06 19:00:00
License file: /opt/slickedit-pro2017beta3/bin/slickedit.lic

Build Date: September 04, 2017
Emulation: CUA

OS: Linux
OS Version: Ubuntu 16.04.2 LTS
Kernel Level: 4.10.0-32-generic
Build Version: #36~16.04.1-Ubuntu SMP Wed Aug 9 09:19:02 UTC 2017
Processor Architecture: x86_64

X Server Vendor: The X.Org Foundation
Memory: 37% Load, 9149MB/24321MB Virtual
Shell Information: /opt/slickedit-pro2017beta3/bin/secsh -i
Screen Size: 1920 x 1080, 1920 x 1080

Project Type: Single file project - Other
Language: .js (JavaScript)
Encoding: Automatic

Installation Directory: /opt/slickedit-pro2017beta3/
Configuration Directory: /home/tmoore/.slickedit/22.0.0/
Migrated from: /home/tmoore/.slickedit/21.0.3/
Spill File: /tmp/$slk.tmoore.27145

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1120
  • Hero Points: 105
Re: B3: ES6 class methods defs not shown
« Reply #1 on: September 07, 2017, 07:24:07 pm »
Reproduced, taking a look at it.  Thanks for the report.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1120
  • Hero Points: 105
Re: B3: ES6 class methods defs not shown
« Reply #2 on: September 07, 2017, 08:02:48 pm »
This will be fixed in the next drop.