Adam Cameron
// C.cfc
component {
static {
final static.usingLiteral = {
subKey = "value"
}
final static.usingDots.subKey = "value"
}
}
WTF is this gibberish supposed to mean?
Error Occurred While Processing Request
You cannot assign final to the variable prefixed with Struct.
You can have variable declaration of the form s.x only for Scope prefixed variable.
I mean fine... it doesn't like final static.usingDots.subKey = "value"
but:
a) WTF is with that error message text?
b) why is it a problem? There is no reason why it ought not work fine, right?Mark Takata (Adobe)
06/08/2023, 4:42 PMAdam Cameron