[as2api-dev] Problem documenting getter/setter with Inspectable meta tag

David Holroyd dave at badgers-in-foil.co.uk
Thu Sep 15 12:32:59 UTC 2005


Hi there,

On Thu, Sep 15, 2005 at 01:56:33PM +0200, Xavi Beumala wrote:
> I've checkout the last review of as2api from svn (I want to be able to 
> document methods with [Inspectable] metadata).
> 
> But when I run my ant script (is working with windows build) I'm getting 
> the following errors:
> 
>   [exec] ./api_model.rb:185:in `each_implemented_interface': undefined method `each_interface' for #<ASInterface:0x2cb2248> (NoMethodError)
>   [exec] from ./api_model.rb:184:in `each_ancestor'
>   [exec] from ./api_model.rb:184:in `each_implemented_interface'
>   [exec] from ./api_model.rb:306:in `inherited_comment'
>   [exec] from ./output/html/core_pages.rb:332:in `document_method'
>   [exec] from ./output/html/core_pages.rb:307:in `html_div'
>   [exec] from (eval):3:in `element'
>   [exec] from (eval):3:in `html_div'
>   [exec] from ./output/html/core_pages.rb:307:in `document_method'
>   [exec] ... 34 levels...
>   [exec] from ./ui/cli.rb:285
>   [exec] from c:/developer/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
>   [exec] from c:/developer/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
>   [exec] from as2api.rb:3

I don't suppose that you've got an instance somewhere of...

  class A extends B { ... }

...where 'B' is actually an interface rather than a class, do you?


If this is a bug in as2api, it would be very helpeful to see the source
you're trying to document (send it in a private email if you wish -- I
can treat it as confidential).


thanks for reporting the problem!
dave

-- 
http://david.holroyd.me.uk/



More information about the as2api-dev mailing list