Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Herman Venter edited this page Jul 12, 2017 · 2 revisions

property key value is unknown

The object expression property name expression has an unknown value that might be a number, symbol or even object.

The runtime behavior of this expression might cause changes to the heap or even throw exceptions. If this should happen, then the values of the heap computed by Prepack will be incomplete or wrong, with the result that running Prepack over this program may change its runtime behavior.

To make this error go away, consider refining the environment model so that Prepack can figure out that converting this value will not cause such changes.

Note that this is a fatal error. The code generated by Prepack for an object expression with such a property will exclude the property and can thus only be correct at runtime if the property is never used and the property name expression is well behaved. This is unlikely the desired behavior of a correct program.