diff orange/serialization/Serializer.d @ 32:9df3b7a46a51 experimental

Updated the unit test with the latest changes.
author Jacob Carlborg <doob@me.com>
date Sun, 21 Nov 2010 18:51:05 +0100
parents c68d29967c9f
children 4fea56a5849f
line wrap: on
line diff
--- a/orange/serialization/Serializer.d	Sun Nov 21 17:37:20 2010 +0100
+++ b/orange/serialization/Serializer.d	Sun Nov 21 18:51:05 2010 +0100
@@ -343,7 +343,7 @@
 	private void serializeTypedef (T) (T value, string key, Id id)
 	{
 		archive.archiveTypedef(T.stringof, key, nextId, {
-			serializeInternal!(BaseTypeOfTypedef!(T))(value, id);
+			serializeInternal!(BaseTypeOfTypedef!(T))(value, nextKey);
 		});
 	}