Hello brains trust,
Need some help please. I receive the compiler warning "Cannot determine if container access is using container type" when using STRICT type checking on the following excerpt of code. Mind you, the code still runs.
BUT, I can't figure out how to eliminate the warning (it's messing with my OCD). What am I missing?
function test() as Void { var w = null, ti, sz = 6; w = Weather.getHourlyForecast(); if (w != null) { for (var j=0; j<sz; j++) { ti = Gregorian.info((w[j].forecastTime as Moment), (Time.FORMAT_LONG as DateFormat)); // ... more code follows, but irrelevant for this illustration } } }