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

Implement runUnsafe and compileUnsafe for Code[T] #25

Closed
LPTK opened this issue Sep 28, 2017 · 1 comment
Closed

Implement runUnsafe and compileUnsafe for Code[T] #25

LPTK opened this issue Sep 28, 2017 · 1 comment
Assignees
Milestone

Comments

@LPTK
Copy link
Member

LPTK commented Sep 28, 2017

Currently Code[T] has access to the enrichments that provide .run and .compile to IR[T,Any] (via InspectableCodeOps). This should probably not be the case.

@LPTK LPTK added this to the Version 0.2 milestone Sep 28, 2017
@LPTK LPTK self-assigned this Sep 28, 2017
@LPTK
Copy link
Member Author

LPTK commented Dec 1, 2017

This is now fixed (see #36). Evaluating a term with non-contextual type (now AnyCode[T]) requires an explicit unsafe cast with unsafe_asClosedCode.

@LPTK LPTK closed this as completed Dec 1, 2017
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

1 participant