ghcjs / ghcjs-dom

Make Document Object Model (DOM) apps that run in any browser and natively using WebKitGtk
74 stars 41 forks source link

getAttachedShaders in GHCJS.DOM.JSFFI.Generated.WebGLRenderingContextBase has the wrong return type #68

Closed schell closed 7 years ago

schell commented 7 years ago

It seems that getAttachedShaders in GHCJS.DOM.JSFFI.Generated.WebGLRenderingContextBase has the wrong return type. The webgl call returns a list of WebGLShaders, but the given return type in ghcjs* is m (). I'm pretty sure these are auto-generated, so maybe something just needs to be updated?

Here's a shot of the haddocks I generated locally:

screenshot 2017-05-01 10 37 13

And here's a link to the related webgl call (https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getAttachedShaders)

hamishmack commented 7 years ago

What version is that? It looks ok in the latest version.

schell commented 7 years ago

Well, it's 0.7.0.4 so I guess that solves it! I'll update my stack.yaml to make sure it's pulling the latest, or wait a spell for the changes to percolate. Thanks @hamishmack :)