Is it possible to mix vertex() and curveVertex() in one shape yet?

I’ve found an old discussion saying that this is possible in processing but wasn’t possible in p5 (

I also think I found a discussion saying that a patch for this had been submitted

However, when I try to create a mixed shape, all the vertex() statements are interpreted as curveVertex() statements. Any help is appreciated.