Skip to content
Commit 6ec3bf99 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

exekall: Use return annotation of functions to infer type when reloading from ValueDB

Using the return annotation of the producer callable allows to use "phantom"
types, with functions returning instances of something else. Once reloaded from
the ValueDB, the FrozenExprVal will actually still keep this phantom type,
rather than being "degraded" to the actual type, unless that type is a subclass
of the return annotation.
parent d1023ced
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment