You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(:inline)
function timeFormatMs() as String {
return timeFormat(Time.now()) + '.' + (System.getTimer() % 1000).format("%03d");
}
(:inline)
function timeFormat(moment as Moment) as String {
var time = Time.Gregorian.info(moment as Moment, Time.FORMAT_SHORT);
return time.hour.format("%02d") + ':' + time.min.format("%02d") + ':' + time.sec.format("%02d");
}
function logRelease(msg as String?) as Void {
var time = timeFormat(Time.now());
System.println(time + " " + msg);
}
call logReleaase("something") somewhere.
Warning on the call of timeFormat from timeFormatMs:
fenix6: Prettier.mc:32:12: While inlining timeFormat: This function can only be inlined in statement, assignment, if or return contexts
While this is true, it's irrelevant as timeFormatMs is not even called anywhere and is excluded from the optimized source code.
The text was updated successfully, but these errors were encountered:
call logReleaase("something") somewhere.
Warning on the call of timeFormat from timeFormatMs:
fenix6: Prettier.mc:32:12: While inlining timeFormat: This function can only be inlined in statement, assignment, if or return contexts
While this is true, it's irrelevant as timeFormatMs is not even called anywhere and is excluded from the optimized source code.
The text was updated successfully, but these errors were encountered: