Other error compiling under VS2013


#1
1>e:\projects\testplug\modules\juce_core\javascript\juce_javascript.cpp(695): error C2440: '<function-style-cast>' : cannot convert from 'const juce::DynamicObject::Ptr' to 'juce::var' (..\..\JuceLibraryCode\juce_core.cpp)
1>          No constructor could take the source type, or constructor overload resolution was ambiguous

probably this:

struct FunctionCall  : public Expression
{
    var getResult (const Scope& s) const override
    {
        // ...

        var function (object->getResult (s));
        return invokeFunction(s, function, var(s.scope));
    }

should read:

struct FunctionCall  : public Expression
{
    var getResult (const Scope& s) const override
    {
        // ...

        var function (object->getResult (s));
        return invokeFunction(s, function, var(s.scope.getObject()));
    }

?


#2

This issue still exists.


#3

Ta, will get that sorted now.