Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[BUG] cppfront fails on valid cpp1 syntax for importing module partitions #1190

Open

Description

@farmerpiki

module;

export module utils:part2;
import :part1;

results in part2.cpp2(4,1): error: a namespace-scope object must have an initializer

there currently is a workaround, explicitly writing, but that might result in duplicate exports if it's needed in multiple places
export import :part1;

Activity

  1. added
    bug
    on Jul 30, 2024
  2. changed the title [-][BUG] parser fails on valid cpp1 syntax for importing module partitions[/-] [+][BUG] cppfront fails on valid cpp1 syntax for importing module partitions[/+] on Jul 30, 2024
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions