Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-1434

erlc fails with 'Internal consistency check failed - please report this bug.'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.0
    • Fix Version/s: 24.0
    • Component/s: compiler
    • Labels:
      None

      Description

      When compiling module

      -module(m).
      -export([f/1]).
      
      f(<<B/binary>>) ->
          << <<V>> || <<V>> <= B >>.
      

      erlc fails with following message:

      m: function f/1+9:
      Internal consistency check failed - please report this bug.
      Instruction: {put_tuple2,

      {x,0}

      ,{list,[

      {atom,bad_generator}

      ,{x,1}]}}
      Error: {match_context,{x,1}}:

        Attachments

          Activity

            People

            Assignee:
            bjorn Björn Gustavsson
            Reporter:
            isvilen Svilen Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: