GWT overlay types accesing keywords -


The following code is not working because "default" is a javascript keyword. Is this an easy way to decide? I want to avoid renaming on the server side.

  Public Ultimate Boolean getDefault () / * - {return.default; } - * /;  

> Use array access instead of variable access:

  return this ['default'];  

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -