(final CompileContext cc)
| 18 | } |
| 19 | |
| 20 | @Override |
| 21 | protected Expr opt(final CompileContext cc) { |
| 22 | final Expr map = arg(0); |
| 23 | if(map.seqType().type instanceof final MapType mt) { |
| 24 | exprType.assign(mt.keyType().seqType(Occ.ZERO_OR_MORE), map.structSize()); |
| 25 | } |
| 26 | return this; |
| 27 | } |
| 28 | } |