-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: JavaScript
-
None
-
ALL
> db.eval( "q = function()
{ print( 1 ); }" );
Thu Jun 24 09:53:19 uncaught exception: {
"assertion" : "can't append type from:13",
"errmsg" : "db assertion failure",
"ok" : 0
}
This is a temporary workaround:
> db.eval( "q = {a:function() { print( 1 ); }}" );
{ "a" : function cf_3f()
}