Address @rtfeldman review

This commit is contained in:
ayazhafiz 2022-02-26 14:24:04 -05:00
parent 07b1829732
commit 34900c1f55
5 changed files with 15 additions and 15 deletions

View file

@ -187,7 +187,7 @@ pub enum Expr {
// Id n := [ Id U64 n ]
// @Id "sasha"
//
// Then `name` is "Id", `argument` is "sasha", but this is not enough for us to
// Then `opaque` is "Id", `argument` is "sasha", but this is not enough for us to
// infer the type of the expression as "Id Str" - we need to link the specialized type of
// the variable "n".
// That's what `specialized_def_type` and `type_arguments` are for; they are specialized

View file

@ -40,7 +40,7 @@ pub enum Pattern {
//
// f = \@Id who -> strToBool who
//
// Then `name` is "Id", `argument` is "who", but this is not enough for us to
// Then `opaque` is "Id", `argument` is "who", but this is not enough for us to
// infer the type of the expression as "Id Str" - we need to link the specialized type of
// the variable "n".
// That's what `specialized_def_type` and `type_arguments` are for; they are specialized

View file

@ -755,7 +755,7 @@ mod test_load {
err,
indoc!(
r#"
OPAQUE DECLARED OUTSIDE SCOPE
OPAQUE TYPE DECLARED OUTSIDE SCOPE
The unwrapped opaque type Age referenced here:
@ -769,7 +769,7 @@ mod test_load {
Note: Opaque types can only be wrapped and unwrapped in the module they are defined in!
OPAQUE DECLARED OUTSIDE SCOPE
OPAQUE TYPE DECLARED OUTSIDE SCOPE
The unwrapped opaque type Age referenced here: