[M3devel] pre-report

Dragiša Durić dragisha at m3w.org
Mon Sep 10 09:41:00 CEST 2012


MODULE TestCase EXPORTS Main;

PROCEDURE Do(VAR b: ARRAY OF CHAR) =
  BEGIN
  END Do;

VAR
  arg: RECORD
    a: BITS 1 FOR BOOLEAN; (* case 2 is this, case 1 is: comment a out :) *)
    b: BITS 24 FOR ARRAY [0..2] OF CHAR;
  END;
    
BEGIN
  Do(arg.b);
END TestCase.

--
Divided by a common language

Dragiša Durić
dragisha at m3w.org




On Sep 10, 2012, at 4:03 AM, Antony Hosking wrote:

> What’s the source code?
> Testcase please...
> 
> On Sep 8, 2012, at 3:23 AM, Dragiša Durić <dragisha at m3w.org> wrote:
> 
>> Just got this, many times in a row :)
>> 
>> ===
>> % cm3
>> --- building in ../AMD64_DARWIN ---
>> 
>> new source -> compiling Descriptors.m3
>> 
>> 
>> ***
>> *** runtime error:
>> ***    <*ASSERT*> failed.
>> ***    file "../src/values/Formal.m3", line 689
>> ***
>> 
>> zsh: abort      cm3
>> 
>> 
>> % cm3 -?
>> Critical Mass Modula-3 version d5.9.0
>> last updated: 2010-07-21
>> compiled: 2011-03-23 04:04:18
>> configuration: /usr/local/cm3/bin/cm3.cfg
>> host: AMD64_DARWIN
>> target: AMD64_DARWIN
>> 
>> --
>> Divided by a common language
>> 
>> Dragiša Durić
>> dragisha at m3w.org
>> 
>> 
>> 
>> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120910/6c64745c/attachment-0002.sig>


More information about the M3devel mailing list