mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
TODO
This commit is contained in:
parent
34148645ae
commit
c87e3e7413
1 changed files with 6 additions and 0 deletions
|
@ -241,6 +241,12 @@ fn to_inspector<'a>(env: &mut Env<'a>, at_opaque: &'a str) -> ast::Expr<'a> {
|
|||
roc_module::called_via::CalledVia::Space,
|
||||
));
|
||||
|
||||
// TODO: change the derived implementation to be something that includes the opaque symbol in
|
||||
// the derivation, e.g. something like
|
||||
//
|
||||
// \@Opaq payload ->
|
||||
// Inspect.opaqueWrapper "toString symbol" payload
|
||||
|
||||
// \@Opaq payload -> Inspect.toInspector payload
|
||||
ast::Expr::Closure(
|
||||
env.arena
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue