Skip to content

Commit

Permalink
Fix issue 16642: byCodeUnit doesn't work properly with alias this.
Browse files Browse the repository at this point in the history
If a template is going to allow implicit conversions, it really needs to
force the conversion in order to avoid subtle bugs. This fixes
byCodeUnit so that it forces the conversion to a string type for types
that convert implicitly. It also fixes it so that types which implicitly
convert to a string type but are also ranges of characters without the
conversion will not be converted by byCodeUnit.
  • Loading branch information
jmdavis committed Mar 8, 2017
1 parent 1181fcf commit 6e3d41c
Showing 1 changed file with 287 additions and 77 deletions.
Loading

0 comments on commit 6e3d41c

Please sign in to comment.