Skip to content

Meson invalid method called on boolean option #829

Closed

Description

@antonmeskildsen

In commit 6502a67 , the extension_memory feature was changed to a boolean.

This breaks on line 45 in meson.build, where .enabled() is called on the option. The error is the following:

ERROR: Unknown method "enabled" in object <[BooleanHolder] holds [bool]: False> of type BooleanHolder.

I'm using Meson 10.2.

I have fixed this locally by simply reverting the option to a feature and setting the default to 'disabled'.

I can make a pull request if necessary but first, I want to understand why the change was made in the first place. The pull request #764 mentions removing the single quotes from boolean options, but this is not what was changed. It looks to me like this is a mistake but maybe I'm missing something?

Activity

  1. added a commit that references this issue on May 22, 2026
    4fe7d60
  2. added a commit that references this issue on May 22, 2026
    43956bd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions