Wiki

root/cobra/trunk/Tests/100-basics/026-assign-in-statement.cobra

Revision 1324, 179 bytes (checked in by chuck, 4 years ago)

Fixed: Cobra doesn't exclude irrelevant warnings from the C# backend for non-English languages.
Fixed: Cobra does not detect unused local variables in many cases.

  • Property svn:eol-style set to native
Line 
1# an expression (such as assignment) can be a statement
2namespace Test
3
4    class Test
5   
6        def main
7            is shared
8            x as int = 0
9            y as int = x = 1
10            y = 3
11            CobraCore.noOp(x, y)
Note: See TracBrowser for help on using the browser.