8000 Merge pull request #27 from max-l/gh-pages · lerodcer/scala.github.com@88bae66 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 88bae66

Browse files
committed
Merge pull request scala#27 from max-l/gh-pages
example of an ascription in the cheat sheet
2 parents 16ca78a + d563222 commit 88bae66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cheatsheets/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,4 @@ about: Thanks to <a href="http://brenocon.com/">Brendan O'Connor</a>, this cheat
7878
| `classOf[String]` | class literal. |
7979
| `x.isInstanceOf[String]` | type check (runtime) |
8080
| `x.asInstanceOf[String]` | type cast (runtime) |
81+
| `x : String` | ascription (compile time) |

0 commit comments

Comments
 (0)
0