Stream.expect() default error message label

This commit is contained in:
2024-01-27 13:26:55 -07:00
parent d1e94992d4
commit 0e99086c38

View File

@@ -372,7 +372,7 @@ class Stream {
};
}
public function expect(whatToExpect:String, f:Void->Option<String>):String {
public function expect(whatToExpect:String="something unspecified", f:Void->Option<String>):String {
var position = position();
switch (f()) {
case Some(s):