Created
February 19, 2017 17:41
-
-
Save Fleshgrinder/c25ab5c7e8abd604afc3b1163de2f3b6 to your computer and use it in GitHub Desktop.
The Case of the Null Reference: Code Listing 4
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
function f(Integer? x) { | |
return x?.plus(42); | |
} | |
print(f(null)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment