facebookarchive/prepack
Auf GitHub ansehenSupport abstract functions with simple return types
Open
#2.514 geöffnet am 30. Aug. 2018
enhancementhelp wantedpriority: low
Repository-Metriken
- Stars
- (14.268 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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)", ...).