Contact | License

# 1008 - Expected a variable of type '%s', but got '%s'.

Description
A variable of a particular type was expected, but a variable of some other type was encountered.
Example
Config:
.String = 'String' Using( .String )
Output:
c:\test\fbuild.bff(2):(8) FASTBuild Error #1008 - Using() - Expected a variable of type 'Struct', but got 'String'. Using( .String ) ^ \--here
Fix:
.Struct = [ .Value = 'X' ] Using( .Struct )