groovy

Bad Error Message in SingletonASTTransformation

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.6.3
  • Fix Version/s: 1.7-beta-1
  • Component/s: Compiler
  • Labels:
    None
  • Environment:
    head of TRUNK as of time of reporting
  • Number of attachments :
    0

Description

SingletonASTTransformation has GString-style interpolation in an error message. Unfortunately, it's a Java class.

See #visit (line 45 as of this writing)

Activity

Hide
Hamlet D'Arcy added a comment -

The GString being used wasn't even binding in-scope variables. The error message should be much better now.

Show
Hamlet D'Arcy added a comment - The GString being used wasn't even binding in-scope variables. The error message should be much better now.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: