#664 √ resolved
Juha Pohjalainen

[patch] vm builtin_sendsite.cpp using wrong source for as<Executable>

Reported by Juha Pohjalainen | July 17th, 2008 @ 09:02 PM | in 1.0 preview

This bug is shown at test_task.hpp in test_locate_method_on_private_private_send test. It fails already.

Problem can be found from builtin_sendsite.cpp method HierarchyResolver::resolve -- around line 75 (and maybe 98 is wrong also) there is code:

msg.method = as(entry);

that cast fails with unknown type (it is a MethodVisibility?).

Partial fix could be:

msg.method = as(vis ? vis->method : entry);

It might not be correct one, but you should get the idea.

Is this enough info, or is something else needed?

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Attachments