Function parameter: 'X' conflicts with struct defined in 'Object'

I have no idea whats wrong. Just cant compile…

“Error 1 error : In BluePrintHelper: Function parameter: ‘rotator’ conflicts with struct defined in ‘Object’”

BluePrintHelper.h

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.

#pragma once

#include "EdGraph/EdGraphNode.h"
#include "UnrealMathUtility.h"
#include "BluePrintHelper.generated.h"

/**
 * 
 */
UCLASS()
class UBluePrintHelper : public UEdGraphNode
{
	GENERATED_UCLASS_BODY()


	UFUNCTION(BlueprintCallable, Category = "FRotator")
	FRotator MyFancyFunction(FRotator rotator);
	
};

BluePrintHelper.cpp

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.

#include "TOD.h"
#include "UnrealMathUtility.h"
#include "BluePrintHelper.h"


UBluePrintHelper::UBluePrintHelper(const class FPostConstructInitializeProperties& PCIP)
	: Super(PCIP)
{

}


FRotator UBluePrintHelper::MyFancyFunction(FRotator rotator) {

	FRotator copy = rotator.GetDenormalized();

	return copy;
}

Due to the way FNames work case-insensitively once a name is entered in to the system your capitalization must be the same. If you capitalize Rotator your error will go away.

The error persists…

It must be the case that you can’t have a property name (which parameters to a ufunction are under the hood) with the same name as a ustruct. Just change the parameter name and if you want it to appear as Rotator on the node, use the DisplayName metadata.

Exactly. rotator or Rotator is reserved. Changed to MyVariable and Voilá!

rotator or Rotator is reserved. Changed to MyVariable and Voilá!