Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index d9dc09651e65d7654ef1ee2e9193dc8a2d47f38b..2af18178d9d649df96c96d4a638a630385c0a31b 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -1627,6 +1627,7 @@ function FunctionSourceString(func) { |
func = %GetCallTrap(func); |
} |
+ // TODO(wingo): Print source using function* for generators. |
if (!IS_FUNCTION(func)) { |
throw new $TypeError('Function.prototype.toString is not generic'); |
} |