aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/CompilerServices/CompilerServices.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-09 02:04:38 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-09 02:04:38 +0200
commit91a40c76fc886501c644a702832a9b257bc154f9 (patch)
treec3730c5e3e4d4fe1008a3ce7e158f9dd79c7849c /src/CompilerServices/CompilerServices.cs
parentcc4c62ab5d809ff451ca475a7949adc4fdfd806b (diff)
revert test
modifié : Templates/CheckBox.goml simply cancel binding for now modifié : src/CompilerServices/CompilerServices.cs
Diffstat (limited to 'src/CompilerServices/CompilerServices.cs')
-rw-r--r--src/CompilerServices/CompilerServices.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CompilerServices/CompilerServices.cs b/src/CompilerServices/CompilerServices.cs
index 137ce626..ebb365c9 100644
--- a/src/CompilerServices/CompilerServices.cs
+++ b/src/CompilerServices/CompilerServices.cs
@@ -78,7 +78,10 @@ namespace Crow
if (pi == null)
throw new Exception ("Member '" + reader.Name + "' not found in " + crowType.Name);
- CompilerServices.EmitSetValue (reader.il, pi, reader.Value);
+ if (reader.Value.StartsWith("{"))
+ Debug.WriteLine("Binding => " + pi.Name + ": " + reader.Value);
+ else
+ CompilerServices.EmitSetValue (reader.il, pi, reader.Value);
}
reader.MoveToElement ();