atom-haskell / ide-haskell

Haskell IDE plugin for Atom editor

Home Page:https://atom.io/packages/ide-haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function.extractParams is deprecated.

MatthijsBlom opened this issue · comments

Assigning custom properties to a marker when creating/copying it is
deprecated. Please, consider storing the custom properties you need in
some other object in your package, keyed by the marker's id property.

Function.extractParams (<embedded>:127759:20)
MarkerLayer.markPosition (<embedded>:73362:30)
DisplayMarkerLayer.markBufferPosition (<embedded>:128379:58)
TextEditor.addCursorAtBufferPosition (<embedded>:4226:40)
cursors.forEach (C:\Users\Matthijs\.atom\packages\ide-haskell\lib\prettify\index.js:33:24)
Array.forEach (native)

What the hell? What Atom version are you using?

Quick note: seems TextEditor.addCursorAtBufferPosition(cursor, { autoscroll: false }) triggers this, which is a false positive, since autoscroll is not a marker property, but rather an option for addCursorAtBufferPosition specifically.

I believe atom/atom@b362f74 is at fault

What Atom version are you using?

Atom 1.20, in case you are still wondering.

Thanks. I'll go ahead and create an issue on atom/atom then.

Fixed upstream, will be released as Atom 1.22.