super paco! thanks for the prompt response... the throw is there because I think it is supposed to force some compile-time type magic but never be called at runtime??? well I am trying to use kotlin to write a parser but cant find any parser libraries... in thus case "parboiled2" is a scala library but it breaks down in interop with Kotlin with the $classes and backticking and such :/