SciNim / nim-plotly

plotly wrapper for nim-lang
https://scinim.github.io/nim-plotly/
MIT License
181 stars 15 forks source link

fix `nil` checks of strings and seqs #22

Closed Vindaar closed 6 years ago

Vindaar commented 6 years ago

Due to recent changes on Nim's devel, nil is not a valid value for strings and seqs anymore. This change replaces checks for nil by checks on the length of the string or seq.