Skip to content

Instantly share code, notes, and snippets.

@barron9
Created June 27, 2021 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barron9/e5225d7955ebb7aa3a5733f24aba0a39 to your computer and use it in GitHub Desktop.
Save barron9/e5225d7955ebb7aa3a5733f24aba0a39 to your computer and use it in GitHub Desktop.
class Free : Package {
override func setPrice(price : Int64)throws ->Int64 {
return 0 //weakened post condition
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment