Oops, it seems like my patch (6d98ca9) had a bug. For anyone interested, a small update to `parse::lexer::is_line_non_doc_comment` function will fix it. (Right now I don't have a compilation environment, so it's my guess.)
That said, I don't like doc comments being translated to decorators at all, mainly because comments are otherwise freeform and similar problems may arise later. In fact a possibility of a long run of `/`s being mistranslated to doc comment was hinted by the very patch introducing this syntax. [1] My patch is by no means permanent but rather ad hoc solution to the problem. [1] https://github.com/mozilla/rust/issues/2498 2013/5/2 Steve Klabnik <[email protected]>: > I'm for this. > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev -- -- Kang Seonghoon | Software Engineer, iPlateia Inc. | http://mearie.org/ -- Opinions expressed in this email do not necessarily represent the views of my employer. -- _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
