This example code does not work:
type MyType = object
var x: MyType
x.linux = true
GCC fails to compile the generated C code:
error: expected identifier or ‘(’ before numeric constant
Problem is the object member named "linux".
I would expect, that "linux" can be used as identifier without issues.
Tested with Nim Devel from 2016-12-28 on Linux x64.