Skip to content

Stop generating dart functions #289

@cgrand

Description

@cgrand

Currently clojure functions compile to either classes or functions.

Here I propose we get rid of emitting Dart functions and always compile to classes because:

However the compiler would keep the special case that when it statically determines something in function position to be a Function, it will invoke it with no overhead.

We should double-down on magicasting to Function (we need to anyway)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions