mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This was a very subtle bug, which occurred only in interpreter mode under Linux. The actual name of the symbol should be artificially prefixed by an underscore, because this underscore is stripped during a symbol lookup in interpreter mode. If this is not done, then a reference to variable "_x" is being resolved as a reference to the function "x"!
40 KiB
40 KiB