Created
December 14, 2010 02:22
-
-
Save vito/739911 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(foo: a) matches @(foo: 2), binding a as 2 | |
@(foo: 2) matches @(foo: 2) | |
@(foo: _) matches @(foo: 2) | |
@(foo: _) matches @(foo: _) | |
@(foo: a) SHOULD NOT MATCH @(foo: _) (I just checked, and it *does* match atm, but it doesn't bind a as anything) | |
@(foo: 2) DOES NOT MATCH @(foo: _) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment