Fix another Eq missing case.
This commit is contained in:
parent
a9619306a5
commit
2d31c2afc4
@ -2,6 +2,12 @@ import option;
|
||||
|
||||
enum mode { mode_compile_fail, mode_run_fail, mode_run_pass, mode_pretty, }
|
||||
|
||||
impl mode : cmp::Eq {
|
||||
pure fn eq(&&other: mode) -> bool {
|
||||
other as int == self as int
|
||||
}
|
||||
}
|
||||
|
||||
type config = {
|
||||
// The library paths required for running the compiler
|
||||
compile_lib_path: ~str,
|
||||
|
Loading…
x
Reference in New Issue
Block a user