On Wed, Dec 14, 2016 at 12:13:09PM +0100, Denis Kudriashov wrote: > 2016-12-14 12:05 GMT+01:00 Ben Coman <[email protected]>: > > > But perhaps all those extensions for different file types should be a > > trait to not repeat ourselves? > > > > Problem with trait that you could not add it as class extension. > Now you could package your GT support as separate package. But with trait > it is not possible. > > It would be really nice feature by the way
Ok, so the bottom line is, we could either copy GT behavior to FileLocator, or I can at the end remove the asFileReference. In either case I still don't understand why the result is different - the arguably more stable one ($HOME) is late-bound, but windows disks that can easily change at runtime are not (i.e. (un)plugging a flash disk)? Peter
