compiler: cgen - fix typo. dependency was spelled wrong
parent
4a88a28a3b
commit
1a2db54bc1
|
@ -361,7 +361,7 @@ fn sort_structs(types []Type) []Type {
|
||||||
// sort graph
|
// sort graph
|
||||||
dep_graph_sorted := dep_graph.resolve()
|
dep_graph_sorted := dep_graph.resolve()
|
||||||
if !dep_graph_sorted.acyclic {
|
if !dep_graph_sorted.acyclic {
|
||||||
verror('cgen.sort_structs(): the following structs form a dependancy cycle:\n' +
|
verror('cgen.sort_structs(): the following structs form a dependency cycle:\n' +
|
||||||
dep_graph_sorted.display_cycles() +
|
dep_graph_sorted.display_cycles() +
|
||||||
'\nyou can solve this by making one or both of the dependant struct fields references, eg: field &MyStruct' +
|
'\nyou can solve this by making one or both of the dependant struct fields references, eg: field &MyStruct' +
|
||||||
'\nif you feel this is an error, please create a new issue here: https://github.com/vlang/v/issues and tag @joe-conigliaro')
|
'\nif you feel this is an error, please create a new issue here: https://github.com/vlang/v/issues and tag @joe-conigliaro')
|
||||||
|
|
Loading…
Reference in New Issue