TP0201
Error: undefined name
Messages
Section titled “Messages”undefined name '<x>'(with helpuse 'None'fornone)undefined type '<T>'module '<m>' has no definition '<x>'.NET namespace '<ns>' has no type '<x>'(M21)
Example
Section titled “Example”From the golden case tests/cases/m13/tp0201_is_none.tpn:
let a: int? = Noneif a is none: passThe compiler reports:
tp0201_is_none.tpn:2:9: error TP0201: undefined name 'none' help: use 'None'The specification lists every code.
© 2026 Discover Edge, LLC · Taipan is released under the MIT License.