Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

language-reference: fix typo

  • Loading branch information...
commit 026802bc4fdc69036f6922a38e8fd3a4e1d70b2b 1 parent 0f441a5
@jckarter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/language-reference.md
View
2  doc/language-reference.md
@@ -2753,7 +2753,7 @@ The prefix `*` operator transforms a [call operator](#calloperator) expression i
// Example
variant Shape (Circle, Square);
- [S | VariantMember?(S)]
+ [S | VariantMember?(Shape, S)]
define draw(s:S) :;
overload draw(s:Circle) { println("()"); }
overload draw(s:Square) { println("[]"); }
Please sign in to comment.
Something went wrong with that request. Please try again.