amber-smalltalk/amber — pull request #747 by massimomilan (2013-12-04 11:49:35+00:00)
Title: Fix String>>, bug in Chrome dev

In the latest developer builds of Chrome for Windows (e.g. Version 33.0.1726.0 dev-m, or Canary,) String>>, (comma) sometimes throws a JavascriptError: Illegal access (you can see this in action evaluating '0 halt' in an Helios Workspace, for example).

The problem doesn't show up in the stable version of Chrome, nor in other browser I regularly use (Firefox, Safari, Explorer).

This is fixed explicitly "stringifying" both self and the parameter before concatenation.
By the way, similar methods in String already use this policy (see String>><, String>>=,...)

max