Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Macros on interfaces #1382

Open
Jooseppi12 opened this issue Feb 1, 2024 · 1 comment
Open

Enable Macros on interfaces #1382

Jooseppi12 opened this issue Feb 1, 2024 · 1 comment

Comments

@Jooseppi12
Copy link
Member

Jooseppi12 commented Feb 1, 2024

[<Macro(typeof<...>)>]
type X =
    abstract Y: int -> int
    abstract Z: string -> string

This combined with #1383 allows us to add more metaprogramming capability

@Jooseppi12 Jooseppi12 self-assigned this Feb 1, 2024
@Jooseppi12 Jooseppi12 removed their assignment Feb 1, 2024
@Jand42
Copy link
Member

Jand42 commented Feb 1, 2024

@Jooseppi12 What happens when the interface is implemented? Should it be allowed?
Also, if not for #1383, above example makes no sense if the interface is not a proxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants