Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed a compiler problem when trying to execute "charAt()" #174

Open
wants to merge 1 commit into from

1 participant

@rafaelrinaldi

Fixed a compiler problem when trying to execute "charAt()" method but it fails because isn't a String. I'm just forcing "toString()" and now it's working well.

@rafaelrinaldi rafaelrinaldi Fixed a compiler problem when trying to execute "charAt()" method but…
… it fails because isn't a String. I'm just forcing "toString()" and now it's working well.
b0c6702
@sangupta sangupta referenced this pull request from a commit in sangupta/as3corelib
@sangupta sangupta Fix issue #174 in original fork 4c3bb57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 5, 2011
  1. @rafaelrinaldi

    Fixed a compiler problem when trying to execute "charAt()" method but…

    rafaelrinaldi authored
    … it fails because isn't a String. I'm just forcing "toString()" and now it's working well.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/adobe/serialization/json/JSONEncoder.as
View
2  src/com/adobe/serialization/json/JSONEncoder.as
@@ -293,7 +293,7 @@ package com.adobe.serialization.json
(
name() == "accessor"
// Issue #116 - Make sure accessors are readable
- && attribute( "access" ).charAt( 0 ) == "r" )
+ && attribute( "access" ).toString().charAt( 0 ) == "r" )
) )
{
// Issue #110 - If [Transient] metadata exists, then we should skip
Something went wrong with that request. Please try again.