I know that the similarities between boo and Python are only superficial, but still, how can I do an equivalent of the following Python code in boo?
a = 'a'
del a
a = 1
I've tried
a = 'a'
a = null
System.GC.Collect()
System.GC.WaitForPendingFinalizers()
a = 1
But booish tells me it cannot convert 'int' to 'string'.
The point is not to use the duck type. Is that possible?
Edit: As per comment suggestions, changed del from function to statement.