-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
needs testIssues for which we should add a regression testIssues for which we should add a regression testsubsystem: saw-scriptIssues related to the SAWScript language and/or its interpretation and executionIssues related to the SAWScript language and/or its interpretation and executiontech debtIssues that document or involve technical debtIssues that document or involve technical debttype: bugIssues reporting bugs or unexpected/unwanted behaviorIssues reporting bugs or unexpected/unwanted behavior
Milestone
Description
Observe:
sawscript> let f () = do { let {{ y = 3 : [8] }}; return (); };
sawscript> f ()
sawscript> return (eval_int {{ y }});
[01:55:32.455] 3
sawscript>
This definitely violates the principle of least surprise.
(Note that it's not the same as #2243, but obviously related.)
Metadata
Metadata
Assignees
Labels
needs testIssues for which we should add a regression testIssues for which we should add a regression testsubsystem: saw-scriptIssues related to the SAWScript language and/or its interpretation and executionIssues related to the SAWScript language and/or its interpretation and executiontech debtIssues that document or involve technical debtIssues that document or involve technical debttype: bugIssues reporting bugs or unexpected/unwanted behaviorIssues reporting bugs or unexpected/unwanted behavior