I think that a lot of Chopin's earlier works seem to foreshadow works he composed later in life. One could argue that it is simply the development of his compositional style that gives this impression but when I listen to pieces such as his second scherzo, there is an almost sad, ironic kind of humor that he incorporates. This same feeling, which to me, almost sounds like his acceptance of his life and his mortality, can later be heard again in his barcarolle. Another piece in which I feel this foreshadowing aspect is in his first concerto in E minor, especially the first movement.
If I am correct, I believe in a letter that Chopin wrote around when he was first leaving Poland, he states that he is going away to die. This sounds odd as it was the beginning of his European endeavors, but perhaps he himself knew something about life and mortality that can be found hidden in all of his works.