Search
13:54:35
flip214
I'm using a deadline with a timeout 30.0 and get a compiler note:
13:54:35
flip214
; (SB-IMPL::SECONDS-TO-INTERNAL-TIME-DEADLINE #:SECONDS17)
13:54:36
flip214
; note: unable to associate */(* /) of constants due to type uncertainty:
13:55:18
flip214
Would somebody please explain the note? Is it about combining of multiplication and division of constants?
13:57:28
flip214
If my guess is correct, perhaps "unable to associate multiplication and/or division of constants" might be easier to read
13:59:49
flip214
hmmm, with an even ;) timeout of 30 (integer) I get the same warning
20:40:55
Krystof
flip214: I think your guess is correct.
20:41:04
Krystof
flip214: also I would have said that we should not emit that note
20:41:20
Krystof
(that is, I see code that tries to make sure that there isn't any type uncertainty)
21:07:04
phoe
(defmethod intialize-instance :after ((o foo) &key) (break))
21:07:55
phoe
IMO this is a good example of why it was a bad idea to remove the "implicitly defining a generic function" warning
21:08:08
phoe
the above doesn't break, doesn't warn, nothing; it just returns an instance of foo