Ok I figured it out, not sure if bug or user error:

proc BufferData in File A which imports opengl, which defines GLenum, used by 
BufferData

File B calls BufferData, but does not import opengl, and I get an error about 
the type defined in opengl.

If I add the opengl import to File B, it works. This occurs whether or not 
BufferData is marked with {.inline.}

Bug? Bad error message? I suppose BufferData is being brought into the scope of 
File B when it is instantiated? 

Reply via email to