To talk to myself a little bit more: my initial reasoning behind doing
this in
ModuleDescriptor instead of as a Declaration node is that I don't foresee
much
advantage of having exports in the AST.
Yes, I wasn't sure either at the time, as you can tell from some TODOs.
However, once we start with types, we might want them in the AST.
https://codereview.chromium.org/934323004/diff/1/src/messages.js
File src/messages.js (right):
https://codereview.chromium.org/934323004/diff/1/src/messages.js#newcode179
src/messages.js:179: duplicate_export: ["Cannot export '",
"%0", "' more than once"],
On 2015/02/19 15:05:44, arv wrote:
I think the error message should contain "duplicate". How about?
"Duplicate export of '", %0, "'"
+1
https://codereview.chromium.org/934323004/
--
--
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].
For more options, visit https://groups.google.com/d/optout.