mirror of
https://github.com/HigherOrderCO/Kind1.git
synced 2024-09-11 08:45:32 +03:00
commit
b1e25cef22
@ -40,7 +40,7 @@ impl<'a> Parser<'a> {
|
||||
Token::Star => Some(Operator::Mul),
|
||||
Token::Slash => Some(Operator::Div),
|
||||
Token::Percent => Some(Operator::Mod),
|
||||
Token::Ampersand => Some(Operator::Add),
|
||||
Token::Ampersand => Some(Operator::And),
|
||||
Token::Bar => Some(Operator::Or),
|
||||
Token::Hat => Some(Operator::Xor),
|
||||
Token::GreaterGreater => Some(Operator::Shr),
|
||||
|
@ -241,7 +241,8 @@ impl<'a> DesugarState<'a> {
|
||||
}
|
||||
|
||||
if !unbound.is_empty() {
|
||||
self.send_err(PassError::NoCoverage(range, unbound))
|
||||
self.send_err(PassError::NoCoverage(range, unbound));
|
||||
return desugared::Expr::err(range);
|
||||
}
|
||||
|
||||
let motive = if let Some(res) = &match_.motive {
|
||||
|
@ -1,3 +1,3 @@
|
||||
run {
|
||||
(& (+ #2 (& (- #3 (& (* #4 (/ #5 (% #6 (& (+ #2 (| #8 (^ #9 (<< #10 (% (>> #23 (% (< #2 (>= #4 (<= (== #4 #4) (> #3 (!= #5 #3))))) #60)) #60))))) #1152921504606846975)))) #1152921504606846975)) #1152921504606846975)) #1152921504606846975)
|
||||
(& (+ #2 (& (- #3 (& (* #4 (/ #5 (% #6 (& #2 (| #8 (^ #9 (<< #10 (% (>> #23 (% (< #2 (>= #4 (<= (== #4 #4) (> #3 (!= #5 #3))))) #60)) #60)))))))) #1152921504606846975)) #1152921504606846975)) #1152921504606846975)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user