added error on let statement not directly within block

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>