Mercury Bugs - mercury | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000217 | mercury | Bug | public | 2011-09-20 01:52 | 2011-09-21 17:23 |
| Reporter | dkononenko | ||||
|---|---|---|---|---|---|
| Assigned To | juliensf | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0000217: Can't compile simple program | ||||
| Description | cat testlist.m :- module testlist. :- interface. :- import_module io. :- pred main(io::di, io::uo) is det. :- implementation. :- import_module list. main(!IO) :- L=[1,2,3], io.write_list(L, "\n", io.write_int, !IO). -------- wc -l testlist.m 11 testlist.m -------- mmc --make testlist Making Mercury/os/testlist.o testlist.m:26: error: initializer element is not constant testlist.m:26: error: (near initialization for ‘testlist_scalar_common_1[0][1]’) ** Error making `Mercury/os/testlist.o'. | ||||
| Additional Information | uname -a Darwin MacBook-Pro-Denis-Kononenko.local 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64 mmc --version Mercury Compiler, version 11.01, configured for x86_64-apple-darwin10.8.0 Copyright (C) 1993-2011 The University of Melbourne | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://bugs.mercurylang.org/file_download.php?file_id=127&type=bug | ||||
| Notes | |||||
|
|
|||||
|
|
||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2011-09-20 01:52 | dkononenko | New Issue | |||
| 2011-09-20 01:52 | dkononenko | File Added: testlist.m | |||
| 2011-09-20 21:10 | dkononenko | Note Added: 0000360 | |||
| 2011-09-21 17:23 | juliensf | Status | new => resolved | ||
| 2011-09-21 17:23 | juliensf | Resolution | open => no change required | ||
| 2011-09-21 17:23 | juliensf | Assigned To | => juliensf | ||