tern icon indicating copy to clipboard operation
tern copied to clipboard

Wrong completions for a closure

Open satyaa21 opened this issue 6 years ago • 0 comments
trafficstars

Steps to reproduce:

  1. Open https://codemirror.net/demo/tern.html
  2. Paste below code
return {
    obj: {
      prop1: "2",
      prop2: "3"
    },
    func: function() {
      function innerFn() {
        this.obj.
      }
    }
  }
  1. Press "Ctrl+space" at "this.obj." image

Expected. No completions Actual: Invalid completions are shows

satyaa21 avatar May 10 '19 13:05 satyaa21