I was thinking about adding a with attribute to selectively load modules but realized I would still need to return something or else the import would fail. The idea is to create a synthetic module that would return a handler for any imported value that if called would cause an exception.
The code writer of course would have to handle detecting that their condition is not met and only call those imports when they are valid. -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/v8-dev/13406abe-e8c6-482a-92f9-1262b9b267f4n%40googlegroups.com.
