ST LOUIS, MO - OCTOBER 09:  Republican presidential nominee Donald Trump responds to a question during the town hall debate at Washington University on October 9, 2016 in St Louis, Missouri. This is the second of three presidential debates scheduled prior to the November 8th election.  (Photo by Rick Wilking-Pool/Getty Images)

Republican presidential nominee Donald Trump during the town hall debate at Washington University on Oct. 9, 2016, in St. Louis, Missouri.

Photo: Rick Wilking/Getty Images

Donald Trump railed against the Affordable Care Act tonight, claiming the health care reform law will lead to a single-payer plan — just the kind of plan he praised as recently as last year.

In response to a question tonight about health care, Trump claimed that President Barack Obama’s health law under Hillary Clinton would transform into a single-payer program, which, Trump said, “would be a disaster, somewhat similar to Canada.”

But in the first GOP debate, Trump took the exact opposite position. “As far as single-payer, it works in Canada,” Trump said last year, in response to a question from moderator Bret Baier.