Fix some parsing edge cases for :: operator.

This commit is contained in:
Ingvar Stepanyan
2015-05-14 12:47:51 +03:00
parent fd8e94a90f
commit e05d7cf49a
3 changed files with 3 additions and 1 deletions

View File

@@ -1,2 +1,3 @@
var f = ctx::ns.obj.func;
var g = ::ns.obj.func;
var h = new X::y;

View File

@@ -4,3 +4,4 @@ var _context;
var f = (_context = ctx, ns.obj.func).bind(_context);
var g = (_context = ns.obj).func.bind(_context);
var h = (_context = new X(), y).bind(_context);