mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Add TODOs for opaque type comments that will need to be changed later
This commit is contained in:
parent
ca9ecbea52
commit
e420ebd023
3 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,7 @@ impl Scope {
|
||||||
/// Check if there is an opaque type alias referenced by `opaque_ref` referenced in the
|
/// Check if there is an opaque type alias referenced by `opaque_ref` referenced in the
|
||||||
/// current scope. E.g. `$Age` must reference an opaque `Age` declared in this module, not any
|
/// current scope. E.g. `$Age` must reference an opaque `Age` declared in this module, not any
|
||||||
/// other!
|
/// other!
|
||||||
|
// TODO(opaques): $->@ in the above comment
|
||||||
pub fn lookup_opaque_ref(
|
pub fn lookup_opaque_ref(
|
||||||
&self,
|
&self,
|
||||||
opaque_ref: &str,
|
opaque_ref: &str,
|
||||||
|
|
|
@ -176,6 +176,7 @@ pub enum Expr<'a> {
|
||||||
PrivateTag(&'a str),
|
PrivateTag(&'a str),
|
||||||
|
|
||||||
// Reference to an opaque type, e.g. $Opaq
|
// Reference to an opaque type, e.g. $Opaq
|
||||||
|
// TODO(opaques): $->@ in the above comment
|
||||||
OpaqueRef(&'a str),
|
OpaqueRef(&'a str),
|
||||||
|
|
||||||
// Pattern Matching
|
// Pattern Matching
|
||||||
|
|
|
@ -39,6 +39,7 @@ pub enum Ident<'a> {
|
||||||
/// @Foo or @Bar
|
/// @Foo or @Bar
|
||||||
PrivateTag(&'a str),
|
PrivateTag(&'a str),
|
||||||
/// $Foo or $Bar
|
/// $Foo or $Bar
|
||||||
|
// TODO(opaques): $->@ in the above comment
|
||||||
OpaqueRef(&'a str),
|
OpaqueRef(&'a str),
|
||||||
/// foo or foo.bar or Foo.Bar.baz.qux
|
/// foo or foo.bar or Foo.Bar.baz.qux
|
||||||
Access {
|
Access {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue