Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Language specific edge cases for public exports

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
zig
Domain
tooling

Research direction

Reproduce the two Zig examples from the issue, covering a public export named proto and an enum property with that name. Trace the public-export handling and verify that both examples are processed correctly without treating proto specially or incorrectly.

Written by the indexing model from the issue text.

Description

Checked with my codex, these two edge cases seems not works correct.

  • module exports name like that
  pub const @"__proto__" = enum(u8) {
      inherited = 7,
  };
  • property name like that
  pub const SpecialTags = enum(u8) {
      @"__proto__" = 1,
      normal = 2,
  };

Originally posted by @GrapeBaBa in https://github.com/ChainSafe/zapi/issues/73#issuecomment-5328059415

Dominant language
Zig
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ChainSafe/zapi

All issues in ChainSafe/zapi

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.