New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot convert a Symbol value to a string #361
Comments
I was asked to translate this to english: When using
This error would be fixed by changing the following line: https://github.com/paulmillr/es6-shim/blob/master/es6-shim.js#L278 to var $iterator$ = Type.symbol(Symbol.iterator) ? Symbol.iterator.toString() : '_es6-shim iterator_' Would that be a problem to merge? |
No, that will not fix it. By the spec, stringifying a Symbol throws in all but two cases. The only ways to stringify a symbol safely is The entire purpose of symbols is to be used as non-string object keys - so why would we want to stringify it? This node 0.12 v8 bug is impossible to fix in JS-land, and is fixed in It seems that |
es6-loader 経由でwebpackを実行すると、下記エラーが起きます。
このエラーは
https://github.com/paulmillr/es6-shim/blob/master/es6-shim.js#L278
を
とすると治ったのですが、これってマージされますか?
node v0.12.7
es6-shim version: "0.33.3",
The text was updated successfully, but these errors were encountered: