Skip to content

1.1.1

Compare
Choose a tag to compare
@skydoves skydoves released this 27 Nov 05:42
· 45 commits to main since this release
2aab1c4

What's Changed

Introduce

Since 1.1.1, every whatIf relevant functions use the Contracts as AT_MOST_ONCE internally.
It improving the variable initialization analysis in the presence of high-order functions:

val string: String
nullableString.whatIfNotNull {
  string = it
  
  // do something //
}

Full Changelog: 1.1.0...1.1.1