Skip to content

Commit 59011f0

Browse files
minor fixes in examples
1 parent 6d10419 commit 59011f0

File tree

1 file changed

+1
-1
lines changed
  • samples/snippets/fsharp/compiler-messages

1 file changed

+1
-1
lines changed

samples/snippets/fsharp/compiler-messages/fs0067.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type Dog() =
55
let dog = Dog()
66

77
if dog :? Dog then
8-
printfn "It always be a dog"
8+
printfn "It's of type: %s" dog.Name
99

1010
(* Redundant Downcast *)
1111
type Cat(name: string) =

0 commit comments

Comments
 (0)