Commit 2cf7bf2105eca57bd647431dddfbfe7985a0f95c
1 parent
3b41dfa9
No longer print the 2 different type on load_vtm because it's unreadable, becaus…
…e these types are to big. The good solution is to have a diff function on these type to show the difference
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
view/load_vtm.anubis
| @@ -25,9 +25,7 @@ public define Maybe(VTM) | @@ -25,9 +25,7 @@ public define Maybe(VTM) | ||
| 25 | file_damaged then print("File '"+file_name+"' is damaged.\n\n");failure, | 25 | file_damaged then print("File '"+file_name+"' is damaged.\n\n");failure, |
| 26 | bad_version(expected,found) then print("Secondary module '"+file_name+"' doesn't have the same\n"+ | 26 | bad_version(expected,found) then print("Secondary module '"+file_name+"' doesn't have the same\n"+ |
| 27 | " version ("+found+") as primary module ("+expected+").\n\n");failure, | 27 | " version ("+found+") as primary module ("+expected+").\n\n");failure, |
| 28 | - wrong_type(expected,found) then print("Secondary module '"+file_name+"' has type:\n"+ | ||
| 29 | - found+" while primary module expected:\n"+ | ||
| 30 | - expected+"\n\n");failure, | 28 | + wrong_type(expected,found) then print("vtm plugin '"+file_name+"' is not compatible with the current version\n");failure, |
| 31 | ok(vtm_plugin) then println("vtm plugin "+vtm_plugin.db_version+" loaded "); success(vtm_plugin) | 29 | ok(vtm_plugin) then println("vtm plugin "+vtm_plugin.db_version+" loaded "); success(vtm_plugin) |
| 32 | }. | 30 | }. |
| 33 | 31 |