Skip to content

[Bug]: TypeAssigner assumes the View is JavaView. #1590

@vext01

Description

@vext01

What happened?

Hi,

(I'm extremely new to this code-base. I'm investigating the possibility of lifting a non-java bytecode into Jimple IR. Forgive me if what I say is nonsense)

I was looking at using TypeAssigner to infer types on the Jimple representation of a non-java language.

It seems that the TypeAssigner assumes the view is a JavaView, which in my case, it isn't. Should this be more generic?

new TypeResolver((JavaView) view).resolve(builder);

Thanks

Version

Latest develop branch

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions