Permalink
Browse files

disabled fix to issue #88 - broke CoffeeScript (see #40)

  • Loading branch information...
1 parent a10e9fa commit e6ce0cbed6f754229ee415f871ce86618f3dab8a @bjouhier bjouhier committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fibers/transform.js
View
@@ -259,7 +259,7 @@ function transform(source, options) {
},
'call': function(expr, args) {
var idx = getCallback(args);
- if (idx !== -1 && !async) throw new Error("Function contains async calls but does not have _ parameter on line " + this.lineno);
+ //if (idx !== -1 && !async) throw new Error("Function contains async calls but does not have _ parameter on line " + this.lineno);
if (idx !== -1 && expr.type === t.IDENTIFIER && streamlined[expr.value]) {
// Optimized streamline callback. We know this call is to a streamlined function so we can
// just inline it.

0 comments on commit e6ce0cb

Please sign in to comment.