view tests/naughty.ur @ 2282:19b233bb3176

Make cache flushes safe for transactions (not sure about LRU bump on read).
author Ziv Scully <ziv@mit.edu>
date Thu, 12 Nov 2015 09:47:20 -0500
parents deeeb036c8ed
children
line wrap: on
line source
fun main () : transaction page =
    if naughtyDebug "hello" = 0 then
        return <xml><body></body></xml>
    else
        error <xml>Uhoh!</xml>

(*fun main () : transaction page =
    let
        val a = naughtyDebug ""
    in
        return <xml><body></body></xml>
    end*)