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

feat: support @mel.* attributes in uncurried externals #1140

Merged
merged 6 commits into from
Jul 7, 2024

Conversation

anmonteiro
Copy link
Member

fix for #1027

@anmonteiro anmonteiro force-pushed the anmonteiro/uncurried-externals-attrs branch from 6bddaaa to f31f140 Compare June 24, 2024 04:27
@anmonteiro anmonteiro marked this pull request as ready for review June 24, 2024 07:13
@anmonteiro
Copy link
Member Author

anmonteiro commented Jun 24, 2024

still one test case failing:

type u = (int -> int[@u])

external v : u = "v"

let f x = ignore @@ (v x [@u])
// Generated by Melange
'use strict';


function f(x) {
-  v(x);
}

exports.f = f;
/* No side effect */

@anmonteiro anmonteiro force-pushed the anmonteiro/uncurried-externals-attrs branch from f31f140 to ab6d720 Compare June 30, 2024 04:20
@anmonteiro anmonteiro merged commit b1a50cd into main Jul 7, 2024
5 checks passed
@anmonteiro anmonteiro deleted the anmonteiro/uncurried-externals-attrs branch July 7, 2024 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant