Hi all,
Here's a relatively straightforward patch, which fixes #1581 as we
discussed at SaarCHICKEN.
Cheers,
Peter
From 3f14284a504ec86e0e3410c6f760755ee2de404f Mon Sep 17 00:00:00 2001
From: Peter Bex
Date: Sun, 7 Apr 2019 23:24:35 +0200
Subject: [PATCH] Allow record-instance? without module
Hi all,
The attached patch should fix #1602. I have not had the energy to
test this on Windows yet (I need to build a new bootstrap CHICKEN
and such, and mingw doesn't have wget and #@!$^%%@#!).
Cheers,
Peter
From bb3b767b35c1a051e8010b30c091475d5dd6fcef Mon Sep 17 00:00:00 2001
From: Peter Bex
Hi Peter,
On 2019-04-07 16:41, Peter Bex wrote:
> The attached patch should fix #1602. I have not had the energy to
> test this on Windows yet (I need to build a new bootstrap CHICKEN
> and such, and mingw doesn't have wget and #@!$^%%@#!).
That's fine, I've tested it and it works.
Pushed,
On Sun, Apr 07, 2019 at 04:05:53AM +, elf wrote:
> Question: does it handle circular imports? Is
> module a -> import b
> module b -> import a
> an error? Should it be?
AFAIK this isn't possible because you can't import modules
that the compiler doesn't know about. So when a imports b,
you
Ah, got it. My apologies. (Only starting to look at the module code now.)
-elf
On April 7, 2019 7:57:37 AM UTC, Peter Bex wrote:
>On Sun, Apr 07, 2019 at 04:05:53AM +, elf wrote:
>> Question: does it handle circular imports? Is
>> module a -> import b
>> module b -> import a
>> an error?