I would like to ask if the following sentence is grammatically correct.
My parents promised me to buy a new car.
I searched it and found out that some native speakers find it acceptable but some not. On the other hand, I couldn't see this structure given as an example in any dictionary I checked out. Longman dictionaries especially warns not to use in this way in its grammar anecdotes.
Google Ngram "promise me to be"
So what do you think and if it is grammatically wrong, why?