| ▲ | ibejoeb 10 hours ago | |||||||
The author gets into that. `Thetype` might be complex. It also protects you from overgeneralizing, like casting to and from `unknown` to escape the type checker. | ||||||||
| ▲ | another_twist 3 hours ago | parent | next [-] | |||||||
The bad convert is actually wrong. It should be refactored to an equality check and throw an error if account kind is not "dc". The compiler is correct and its not a good idea to work around this issue. | ||||||||
| ||||||||
| ▲ | nrhrjrjrjtntbt 8 hours ago | parent | prev [-] | |||||||
I see. I dont mind this use case as much. It is like a hint. | ||||||||