This is actually fixed but behind a switch (maybe because it has bugs):
    
    
    {.experimental: "flexibleOptionalParams".}
    
    template h( foo = "", bar : untyped ) =
     echo foo
     bar
    
    h "foo" :
     echo "bar"
    
    h:
     echo "foo"
    
    
    Run

Reply via email to