Add a few compile time features to calling a field on a string literal... - Crash at COMPILE TIME if you call .join and explain that the string joiner is done by calling .join on a list with a string as an argument. - Crash at COMPILE TIME when you call .size and redirect the user to .length - Swap out string.length with the actual length when the string is an inline constant.
Add a few compile time features to calling a field on a string literal...
- Crash at COMPILE TIME if you call .join and explain that the string joiner is done by calling .join on a list with a string as an argument.
- Crash at COMPILE TIME when you call .size and redirect the user to .length
- Swap out string.length with the actual length when the string is an inline constant.

------------------------------
Imported from Google Code.
Original SVN rev#: 293

blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon