Bug #7621

Incorrect handling of $ in application ignoring return value

Added by Hannu Niemistö 5 months ago. Updated 5 months ago.

Status:ClosedStart date:2017-11-15
Priority:4Due date:2017-11-20
Assignee:Hannu Niemistö% Done:

100%

Category:-Spent time:-
Target version:2017-27
Release notes:SCL compiler: Fixed incorrect handling of $ in application ignoring return value
Tags: scl, compiler, 1.31.0
Story points-
Velocity based estimate-
ReleaseSimantics 1.31.0Release relationshipAuto

Description

The following code generates invalid bytecode:

find a = a
foo x = True

main = iter (\x -> do
    if x == "A" 
    then foo $ find 23
    else ()
    ()
  ) ["x"]
 where
  set = MSet.create () 

Associated revisions

Revision 52b3c02e
Added by Hannu Niemistö 5 months ago

(refs #7621) Fixed handling of $ in application ignoring return value

Change-Id: Id605cb22cb195d353970cc5ce8c45eecc2428841

Revision 5f273ad0
Added by Tuukka Lehtonen 5 months ago

Merge "(refs #7621) Fixed handling of $ in application ignoring return value"

History

#1 Updated by Hannu Niemistö 5 months ago

  • Status changed from In Progress to Resolved

#2 Updated by Tuukka Lehtonen 5 months ago

  • Tags set to 1.31.0, scl, compiler
  • % Done changed from 0 to 100
  • Release set to 56

#3 Updated by Tuukka Lehtonen 5 months ago

  • Status changed from Resolved to Closed
  • Release notes set to SCL compiler: Fixed incorrect handling of $ in application ignoring return value

Also available in: Atom PDF