Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

In latest dev nim: func is valid keyword that should be highlighted in the same way as proc #61

@cooldome

Description

@cooldome

The following code now compiles in the latest devel nim. func was always reserved keyword in Nim and now it is actually used. Time to highlight it


func price(a,b: float): float =
  max(0, a - b)


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