]> git.lizzy.rs Git - rust.git/commit
Handle _|_ - typed things in the bodies of do-while loops
authorTim Chevalier <chevalier@alum.wellesley.edu>
Thu, 11 Aug 2011 21:14:05 +0000 (14:14 -0700)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Fri, 12 Aug 2011 00:23:47 +0000 (17:23 -0700)
commit051b401051727d8d4e2ee27f9242b24158831f81
treeac81c6a6803e38b266283de40fe7d668a6f3fd5f
parent19bbd0204970f7a41bafa40016ac52366666d02e
Handle _|_ - typed things in the bodies of do-while loops

The resulting code is strange, but perhaps someone else can
fix it. The obvious things, like returning body_res, all resulted
in completely incomprehensible LLVM errors.

Closes #814
src/comp/middle/trans.rs
src/test/run-fail/do-while-body-fails.rs [new file with mode: 0644]