Bug #7642

Internal compiler error for as-pattern in list comprehension

Added by Hannu Niemistö about 1 month ago. Updated about 4 hours ago.

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

100%

Category:-Spent time:-
Target version:2017-27
Release notes:Fixed internal SCL compiler error that prevented as-pattern in list comprehension from working (m not defined):<pre>
[(show m,x,y) | m@(x,y) <-l ]
</pre>
Tags: scl, compiler, 1.31.0
Story points-
Velocity based estimate-
ReleaseSimantics 1.31.0Release relationshipAuto

Description

The following code causes internal compiler error (m not defined):

[(show m,x,y) | m@(x,y) <-l ]

Associated revisions

Revision e28caa5b
Added by Hannu Niemistö about 1 month ago

Fixed a bug related to as-pattern in list comprehension.

refs #7642

Change-Id: I7f9b3b45d545e2fe793fcaa93b9d392972f0e53b

History

#1 Updated by Tuukka Lehtonen about 4 hours ago

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

Closing this now without better knowledge. Hannu, reopen if you must.

#2 Updated by Tuukka Lehtonen about 4 hours ago

  • Release notes set to Fixed internal SCL compiler error that prevented as-pattern in list comprehension from working (m not defined):<pre> [(show m,x,y) | m@(x,y) <-l ] </pre>

Also available in: Atom PDF