Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Support abstract functions with simple return types #2514

Open
NTillmann opened this issue Aug 30, 2018 · 0 comments
Open

Support abstract functions with simple return types #2514

NTillmann opened this issue Aug 30, 2018 · 0 comments

Comments

@NTillmann
Copy link
Contributor

NTillmann commented Aug 30, 2018

I need this to work:

let f = __abstract(":object", "(__f)");
global.result = f().p;

But it currently fails because the access to .p is not known to be safe. I'd like to model that the result of the call to f is a simple object where all such accesses should simply be allowed, maybe via __abstract(":object(simple)", ...).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant