CPP: Add '/' case.

This commit is contained in:
Geoffrey White
2019-04-04 14:32:22 +01:00
parent c3ec7b55b7
commit 5e71207a23

View File

@@ -313,6 +313,8 @@ class File extends Container, @file {
getAbsolutePath().charAt(1) = ":"
// this is not ideal, it detects compilation on a Windows file system
// as a heuristic approximation to compilation with a Microsoft compiler.
) or (
getAbsolutePath().charAt(1) = "/"
)
}