Skip to content

Commit

Permalink
fix(android): allow overriding of toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
garymathews authored and sgtcoolguy committed Aug 17, 2020
1 parent d1fd590 commit f20ed51
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,12 @@ public void releaseKroll()
}
}

@Kroll.method
public String toString()
{
return "[object Object]";
}

// For subclasses to override
@Kroll.method
@Kroll.getProperty
Expand Down

0 comments on commit f20ed51

Please sign in to comment.