> Can you paste the output of your code so we can help you more > easily ? int(int i) != int function(int) int function(int i) pure nothrow @safe != int function(int) 2 4 So, why 1st case incorrect?