diff src/luan/modules/parsers/LuanToString.java @ 1409:9103a61e64bc

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 25 Sep 2019 08:09:05 -0600
parents 2024d23ddd64
children 59fd2e8b1b9d
line wrap: on
line diff
--- a/src/luan/modules/parsers/LuanToString.java	Tue Sep 24 15:02:33 2019 -0600
+++ b/src/luan/modules/parsers/LuanToString.java	Wed Sep 25 08:09:05 2019 -0600
@@ -42,7 +42,7 @@
 			return;
 		}
 		if( strict )
-			throw new LuanException("can't handle type "+obj.getClass().getName());
+			throw new LuanException("can't handle type "+Luan.type(obj));
 		sb.append( '<' );
 		sb.append( obj );
 		sb.append( '>' );