You can repeat this easily by going into a blueprint and adding construct from class, then drag off the class pin and promote to variable. My tests here show the error with this setup when compile is clicked. Hope this helps.
Thank you for reporting this issue. We already have a bug report in for this issue as it was a regression from 4.16. You can find the bug report here: UE-48436. I would suggest following that page for further updates on this bug’s progress.