Fix crash with contexts opened in the baseclass list of a class definition.

Authored by flherne on Jan 25 2018, 12:22 PM.

Description

Fix crash with contexts opened in the baseclass list of a class definition.

The baseclass list wasn't visited by the DeclarationBuilder, so
currentContext wasn't set on those nodes. This caused a crash in case
of child statements opening a new context such as lambda definitions.

This makes little sense and is unlikely to occur in real code; the bug report
is from trying to parse a negative example in a test suite.

BUG: 389326

Details

Committed
flherneJan 25 2018, 12:22 PM
Parents
R53:dc3ff884fb9e: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown