Last Comment Bug 742149 - WebIDL parser needs to support IDL array return values
: WebIDL parser needs to support IDL array return values
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: x86 Mac OS X
: -- normal (vote)
: ---
Assigned To: Kyle Huey [:khuey] (Exited; not receiving bugmail, email if necessary)
:
Mentors:
Depends on:
Blocks: ParisBindings
  Show dependency treegraph
 
Reported: 2012-04-03 19:36 PDT by Boris Zbarsky [:bz] (TPAC)
Modified: 2012-04-23 13:18 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Boris Zbarsky [:bz] (TPAC) 2012-04-03 19:36:57 PDT
WebGL currently has:

    WebGLShader[]? getAttachedShaders(WebGLProgram? program); 

which throws like so:

  File "dom/bindings/parser/WebIDL.py", line 2862, in finish
    production.finish(self.globalScope())
  File "dom/bindings/parser/WebIDL.py", line 509, in finish
    member.finish(scope)
  File "dom/bindings/parser/WebIDL.py", line 1653, in finish
    assert not isinstance(type.name, IDLUnresolvedIdentifier)

where type.name stringifies as "<unresolved scope>::WebGLShader".

I still think they should use a sequence here, and maybe I'll implement it that way, but we might need this somewhere else too.
Comment 1 Kyle Huey [:khuey] (Exited; not receiving bugmail, email if necessary) 2012-04-03 21:46:18 PDT
Fixed in http://hg.mozilla.org/users/khuey_mozilla.com/webidl-parser/rev/70a9cc8fc263

Note You need to log in before you can comment on or make changes to this bug.