Project

General

Profile

Bug #822189

default.lua uses lua reserved function name 'type' for variable name

Added by Marko Lindqvist over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Rulesets
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Reported by nef as 36b at http://forum.freeciv.org/f/viewtopic.php?f=8&t=90762&start=20 :

"36b. "type" is a Lua function of some value to a programmer. The abuse of "type" such as in _deflua_hut_get_mercenaries and _deflua_hut_get_barbarians should be deprecated."

History

#1 Updated by Marko Lindqvist over 1 year ago

#2 Updated by Marko Lindqvist about 1 year ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF