From da9cc93c466c65e0294b4b29bec6603b2d4552eb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 12 Sep 2024 23:41:32 -0400 Subject: Make functions print with `func name(...)->... [file:line]` info --- test/optionals.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/optionals.tm b/test/optionals.tm index a3f33d6c..928587f7 100644 --- a/test/optionals.tm +++ b/test/optionals.tm @@ -185,12 +185,12 @@ func main(): !! ... !! Lambdas: >> yep := maybe_lambda(yes) - = func(): ...? + = func() [optionals.tm:54]? >> nope := maybe_lambda(no) = !func() >> if yep: >> yep - = func(): ... + = func() [optionals.tm:54] else: fail("Falsey: $yep") >> if nope: fail("Truthy: $nope") -- cgit v1.2.3