Skip to content

Invalid identifiers with auto-generated code #6

@darioteixeira

Description

@darioteixeira

I came across this problem after invoking obus-introspect -system -rec org.bluez /org/bluez and then obus-gen-client. The generated code required some manual tweaking for two different reasons:

  1. It produced a function named class (reserved word in OCaml).
  2. It produced a value named UUID (yep, uppercase).

Nothing major. Nevertheless, it would be nice if the auto-generated code would be free from such issues.

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