[Enter steps to reproduce:]
create a point from Coffeescripts-AST-location-data
{
first_line : sr, first_column : sc
last_line : er, last_column : ec
} = node.locationData
[
new Point(1sr, 1sc),
new Point(1er, 1ec)
]
alternative
[
[ 12, 15],
[ 12, 23]
]
Before i imported the Point-class i tried a plain-array.
Somehow a '1'-string was added to the column-parameter :
so a given 15 became a 151 and 23 ended up as 231 ?
Atom: 1.40.1 x64
Electron: 3.1.10
OS: Mac OS X 10.14.6
Thrown From: linter-ui-default package 1.8.0
At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14
TypeError: Invalid Point: ((11, 15), (11, 23))
at Function.Point.assertValid (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:49613)
at TextBuffer.clipPosition (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:496434)
at TextBuffer.clipRange (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:496290)
at MarkerLayer.markRange (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:78208)
at TextBuffer.markRange (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:490124)
at _loop (/packages/linter-ui-default/lib/editor/index.js:310:33)
at Editor.apply (/packages/linter-ui-default/lib/editor/index.js:303:61)
at /packages/linter-ui-default/lib/editors.js:60:48
at Array.forEach (<anonymous>)
at /packages/linter-ui-default/lib/editors.js:60:23
at Array.forEach (<anonymous>)
at Editors.update (/packages/linter-ui-default/lib/editors.js:57:15)
at /packages/linter-ui-default/lib/main.js:60:28
at Config.observeKeyPath (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:334261)
at Config.observe (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:328743)
at LinterUI.observeShowDecorations (/packages/linter-ui-default/lib/main.js:57:23)
[Enter steps to reproduce:] create a point from Coffeescripts-AST-location-data
{ first_line : sr, first_column : sc last_line : er, last_column : ec } = node.locationData [ new Point(1sr, 1sc), new Point(1er, 1ec) ]
alternative [ [ 12, 15], [ 12, 23] ]
Before i imported the Point-class i tried a plain-array. Somehow a '1'-string was added to the column-parameter : so a given 15 became a 151 and 23 ended up as 231 ?
Atom: 1.40.1 x64 Electron: 3.1.10 OS: Mac OS X 10.14.6 Thrown From: linter-ui-default package 1.8.0
Stack Trace
Uncaught TypeError: Invalid Point: ((11, 15), (11, 23))
Commands
Non-Core Packages