Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

trat char as numeric type, not string

  • Loading branch information...
commit b3bcef7f45f9a1ba1d02ef0d2282bef1dd92812d 1 parent a4f334e
Jonathan Feinberg authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 buildtime/py/processing_parser.py
4 buildtime/py/processing_parser.py
View
@@ -83,8 +83,8 @@ def __init__(self, to_python_prefix, to_java_format, typecheck_format):
'%s.asString()',
'%(name)s == PyString.TYPE'),
PRIMITIVES['char']:
- ClassConversionInfo('new PyString',
- '%s.asString().charAt(0)',
+ ClassConversionInfo('new PyInteger',
+ '%s.asInt()',
None),
PRIMITIVES['boolean']:
ClassConversionInfo('new PyBoolean',
Please sign in to comment.
Something went wrong with that request. Please try again.