Menu

#300 Grammar error when defining arrays

None
closed
nobody
Parsing (77)
5
2018-08-02
2007-09-17
No

The form: byte[] array = new byte[0]; works but the form: byte array[] = new byte[0]; throws an exception with message Encountered "[" at line....

Attached is a simple test file.

Discussion

  • Toomas Römer

    Toomas Römer - 2007-09-17

    Sample to reproduce the problem.

     
  • nickl-

    nickl- - 2018-08-02
    • status: open --> closed
    • Group: -->
     
  • nickl-

    nickl- - 2018-08-02

    Ticket has been migrated to github.
    Please follow up on this over here: https://github.com/beanshell/beanshell/issues/438

     

Log in to post a comment.