Skip to content

It would be nice if the generated code had no import statements (in favor of using. #273

@kuszmaul

Description

@kuszmaul

It would be nice if the resulting code used using rather than import.

So instead of generating

import ProtoBuf as PB

generate

using ProtoBuf: ProtoBuf as PB

One problem with import is that it's easy to accidentally overwrite a packages symbol without realizing you did it. For example to extend a function with a new method.

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