google-developer-training / kotlin-bootcamp

Report issues with the Kotlin Bootcamp for Programmers codelab
7 stars 2 forks source link

Kotlin Bootcamp issue: constant 'PI' can be used from the Kotlin Standard Library #50

Open chinmaykunkikar opened 4 years ago

chinmaykunkikar commented 4 years ago

Describe the problem The Object-oriented programming codelab uses const PI from java.lang.Math.PI when kotlin.math.PI supports the same constant since v1.2. Also, IDEA does not suggest java.lang.Math.PI anymore.

In which step of the codelab can this issue be found? Step number 2 of Object-oriented programming codelab

Steps to reproduce? Not applicable

Versions Community 2020.1.1 Build #IC-201.7223.91

Additional information Not applicable

codelab: kotlin-bootcamp