(ArgType other)
| 9 | STRING; |
| 10 | |
| 11 | public boolean canCastTo(ArgType other) { |
| 12 | boolean ans = canCastTo0(other); |
| 13 | if (ans) { |
| 14 | GenericExpressionCompiler.debugPrintln("Can cast from " + this + " to " + other); |
| 15 | } else { |
| 16 | GenericExpressionCompiler.debugPrintln("NO CASTING FROM " + this + " TO " + other + " EVER!"); |
| 17 | } |
| 18 | return ans; |
| 19 | } |
| 20 | |
| 21 | private boolean canCastTo0(ArgType other) { |
| 22 | if (this == other) { |
no test coverage detected