I've noticed that I can use int like a constructor, as in:
    int x = int(1);
but I can't do the same thing with slices
    int[] y = int[]([1, 2]);

Is there something I'm missing here or is this a potential enhancement? It can make some types of generic code a little more annoying.

Reply via email to