aboutsummaryrefslogtreecommitdiff
path: root/docs/notes/virtual_block.txt
blob: dc1c5afca93336477b3eab9888d9900a500efced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18



    // safety check at compile time
    virtual {
        byte x = any;
        if (i+x > 300) fail;
    }


decide on a keyword:

    virtual
    compiletimecheck
    compilercheck
    compiletime // could do computations also...