Given Mark Hamill's criticism of how Luke Skywalker's character was handled, was the ending of the film kept from him? There is growing speculation that his reaction after the film indicated that he may have been hurt/enraged/shocked by the ending. Has this ever been confirmed by the actor?
Here's some examples of claims that the actor didn't know about the characters fate.
Mark Hamill didn't know The Last Jedi's ending