c4-project / c4t

Runs concurrent C compiler tests
MIT License
1 stars 0 forks source link

Make string->ID conversion fail if ID is invalid #8

Closed MattWindsor91 closed 4 years ago

MattWindsor91 commented 4 years ago

The current IDFromString converter doesn't reject invalid IDs. Ideally, as the ways in which an ID can be invalid are growing, it should be replaced with two converters:

MattWindsor91 commented 4 years ago

id.TryFromString implements this now.