Re: problems with implementing visitField generates invoking 'object' type error

6 views
Skip to first unread message

Rodrigo B. de Oliveira

unread,
Sep 26, 2014, 11:04:12 AM9/26/14
to boo...@googlegroups.com
Hi James,

Could you share a few more lines of the code causing the error around line 34?

On Fri, Sep 26, 2014 at 5:19 AM, James Caska <james...@muvium.com> wrote:
> I am extending the classfile parser with fields
>
> I have added
>
>
> override def visitField(
> access as int, name as string,
> descriptor as string, signature as string, value as object ):
>
> next to the code
>
> override def visitMethod(
> access as int, name as string,
> descriptor as string, signature as string, exceptions as (string)):
>
> but I get the following error
>
> [booc]
> C:\Users\James\Projects\Boogie\boojay\src\Boojay.Compilation\TypeSys
> tem\JarField.boo(34,14): BCE0077: It is not possible to invoke an expression
> of
> type 'object'.
>
>
> I am looking the spec from
>
> http://asm.ow2.org/asm33/javadoc/user/org/objectweb/asm/ClassVisitor.html
>
> Any suggestions on how to work around this. I really need to be able to add
> fields to the analysis
>
> --
> You received this message because you are subscribed to the Google Groups
> "boojay" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to boojay+un...@googlegroups.com.
> To post to this group, send email to boo...@googlegroups.com.
> Visit this group at http://groups.google.com/group/boojay.
> For more options, visit https://groups.google.com/d/optout.

James Caska

unread,
Sep 26, 2014, 11:50:53 AM9/26/14
to boo...@googlegroups.com
Hi,

Thanks for the reply but actually it was my error ( I quickly deleted this post but it must have already pushed through )

The actual error was in a new class I created JarField which tricked me up

I have the fields working now and making good progress

Rodrigo B. de Oliveira

unread,
Sep 26, 2014, 2:11:55 PM9/26/14
to boo...@googlegroups.com
Great to hear!
Reply all
Reply to author
Forward
0 new messages