Incorrect string literal union default
Author: bioballCreated Sep 24, 2026Updated Sep 24, 2026
This code:
prop: "a" | *"a" | "b"Produces:
prop = "b"This code:
prop: "a" | *"a" Throws an java.lang.ArrayIndexOutOfBoundsException.
Source: apple/pkl