freenode/#clim - IRC Chatlog
Search
14:27:23
slyrus1
and now I can't trigger the SBCL bug. grumble... hmm... One of the reasons I'm interested in the seeming SBCL problem is that that same failure mode (type mismatch in the guts of CLX) shows up in other contexts (like when I have non-trivial transformations on a sheet.
14:28:48
jackdaniel
OK, so as of first McCLIM bug: specialization on region region takes precedense over specialization on t drei:drei-area
14:30:38
jackdaniel
I'm not clos expert, so I don't know what would be a clean solution in this scenario
14:32:08
jackdaniel
sure, when you specialize on both areas you may get somewhere, but you'll still have an abstraction leak
14:32:30
jackdaniel
(region-union my-standard-rectangle my-drei-area) will use general sepcialization *again*
14:33:16
slyrus1
It strikes me that maybe calling region-union on the drei-area it self is bogus and maybe it should be fixed at the call site.
14:34:48
jackdaniel
as I said, *working* solution would be adding specialization on region for unspecialized arguments
14:50:15
slyrus1
jackdaniel: Ok, so just change the method signatures to: ((region1 drei-area) (region2 region)) and vice versa? That seems to fix the problem.
15:37:10
slyrus1
should these be explicit calls to e.g. region-union or should we use call-next-method?