Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.brim-lang.com/llms.txt

Use this file to discover all available pages before exploring further.

What this means

record-like type declares the same field twice

Metadata

  • Code: E2018
  • Default level: Error
  • Phase: Name Resolution
  • Canonical docs URL: https://docs.brim-lang.com/diagnostics/E2018
  • Tags: name, types

How to fix

  • rename fields
  • split record

Typical output

E2018: duplicate record field in type
note: record-like type declares the same field twice