[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57581: Failing to build the website
From: |
Julien Lepiller |
Subject: |
bug#57581: Failing to build the website |
Date: |
Wed, 07 Sep 2022 19:14:28 +0200 |
User-agent: |
K-9 Mail for Android |
Le 7 septembre 2022 19:07:10 GMT+02:00, zimoun <zimon.toutoune@gmail.com> a
écrit :
>Hi,
>
>Well, the field reads,
>
>+ (license (package-home-page qtbase))))
>
>so why is the compiler accepting that? Is a warning raised?
>
No warning because the compiler has no way to know you don't want to do that.
license is a field, and fields don't have a specific type except for convention.
package-home-page will read a field from another object, return a perfectly
valid Scgeme object (a string) and Scheme is happy to put it in the license
field. Why would it care? (:
It fails much later when something tries to read the license field and gets a
string it treats as a license object.