You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnmain(){macro_rules! dispatch(
$($id:expr, $name:ident, $parser:expr, $conda:ident, $condb:expr),+
=> {
general_dispatch!(
id,
start,
size,
$(($id, $name,{
header.$name = match $parser.0{
$conda if $condb => $conda,
_ => {returnErr(ParserError::Incompatible);},}}),)+
)});
dispatch!((0x4286,EBMLVersion, try!(self.parse_uint(size)), n, n == 1),(0x42F7,EBMLReadVersion, try!(self.parse_uint(size)), n, n == 1),(0x42F2,EBMLMaxIDLength, try!(self.parse_uint(size)), n, n == 4),(0x42F3,EBMLMaxSizeLength, try!(self.parse_uint(size)), n, n == 8),(0x4282,DocType, try!(self.parse_string(size)), s, s == "matroska"),(0x4287,DocTypeVersion, try!(self.parse_uint(size)), n, n <= 2),(0x4285,DocTypeReadVersion, try!(self.parse_uint(size)), n, n <= 2));}
failed on playpen with:
<anon>:2:5: 23:7 error: internal compiler error: wrong-structured lhs for follow check
<anon>:2 macro_rules! dispatch(
<anon>:3
<anon>:4 $($id:expr, $name:ident, $parser:expr, $conda:ident, $condb:expr),+
<anon>:5 => {
<anon>:6 general_dispatch!(
<anon>:7 id,
...
note: the compiler unexpectedly panicked. this is a bug.
The text was updated successfully, but these errors were encountered:
Aatch
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
labels
Jan 18, 2015
Fiddling with some code from JeanSprouts on IRC,
failed on playpen with:
The text was updated successfully, but these errors were encountered: