[nem-en] Why option['a] is not [Serializable]?
Sergey Shishmintzev
sergey.shishmintzev at gmail.com
Tue Mar 6 21:51:10 CET 2007
2007/3/5, Kamil Skalski <kamil.skalski at gmail.com>:
> Why repeat yourself, when you can use macro? ;)
It isn't documented ;(
>
> http://nemerle.org/mailman/pipermail/svn/2007-March/007489.html
Good. Please apply SerializableAttribute on variant itself:
[nemerle]
...
[System.Serializable] // <- here
[DebuggerNonUserCode]
[Nemerle.MarkOptions (System.Serializable)]
[Nemerle.MarkOptions (DebuggerNonUserCode)]
public variant option ['a]
...
[/nemerle]
--
Serg
More information about the devel-en
mailing list