xenoterracide
09/25/2019, 5:45 PMKroppeb
09/25/2019, 5:52 PMAny!
which would allow a null
I think. Adding a @Nullable
should solve the problem.xenoterracide
09/25/2019, 5:54 PMstreetsofboston
09/25/2019, 5:55 PMnull
value to a platform type like Any!
, without a @Nullable
annotationxenoterracide
09/25/2019, 5:56 PMstreetsofboston
09/25/2019, 5:57 PMAny
, not Any!
. Are you sure this is a platform type, and you’re not hooking up to some kotlin extension …Kroppeb
09/25/2019, 5:57 PMxenoterracide
09/25/2019, 5:59 PM> Task :compileTestKotlin FAILED
e: /Users/calebcushing/IdeaProjects/phs/src/test/kotlin/com/potreromed/monitor/PatientLookupTest.kt: (79, 58): Null can not be a value of a non-null type Any
streetsofboston
09/25/2019, 6:06 PMxenoterracide
09/25/2019, 6:06 PMMike
09/25/2019, 7:00 PMxenoterracide
09/25/2019, 8:47 PMMike
09/26/2019, 12:57 PM