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

Be more similar to Test.@test interface #10

Closed
wants to merge 3 commits into from

Conversation

dralletje
Copy link
Member

@dralletje dralletje commented Sep 16, 2021

Specifically, and most hard to work around, getting local variables to work:

let
  i = 10
  @test i == 10
end

It does, but I'd like to have errors and testsets too (or rather just have the notebook a bit cleaned up)

@fonsp
Copy link
Member

fonsp commented Sep 16, 2021

Yayyyy
I don't get your example though, is that inside a let block? Does that not work already?

@dralletje
Copy link
Member Author

image

With a begin block it just happens to work because the variables is created in the same module.
Anything local doesn't work D:

image

image

But now........

image

@fonsp
Copy link
Member

fonsp commented Oct 18, 2021

@dralletje I am going to merge this unless you have a good reason not to? I'm afraid it will never get finished otherwise

@dralletje
Copy link
Member Author

Give me 1 day

@fonsp
Copy link
Member

fonsp commented Oct 18, 2021

jeee xoxo

@fonsp
Copy link
Member

fonsp commented Nov 1, 2021

@dralletje Can you merge this PR and maybe continue the work in a second PR? With this big PR open I can't work on the package anymore

@dralletje dralletje closed this Nov 4, 2021
@dralletje dralletje deleted the more-metaprogramming-experience-I-guess branch November 4, 2021 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants