114115116117118119120121122123124
switch (getUnaryOp()) { case Plus: return constant; case Minus: return GoTypes.constant(GoTypeConstant.Kind.Complex, complexValue.negate()); default: return GoType.Unknown; } }