diff options
| author | Yong He <yonghe@outlook.com> | 2020-06-05 19:34:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-05 19:34:55 -0700 |
| commit | 7d4432ba5ca007b18dfa6e0c19b4598e42c1e505 (patch) | |
| tree | d439487223ee8ec4a2052d8855db310da878c001 /source | |
| parent | 43c146794aab638924d2ab838d10f8af2ebf02a7 (diff) | |
| parent | 52026c7c26e48921fdf18b3f8cdacad77a792643 (diff) | |
Merge pull request #1375 from csyonghe/findtypebynamefix
Fix FindTypeByName reflection API not finding stdlib types.
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-check-shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-shader.cpp b/source/slang/slang-check-shader.cpp index fcb9b1618..4af6a4328 100644 --- a/source/slang/slang-check-shader.cpp +++ b/source/slang/slang-check-shader.cpp @@ -1290,7 +1290,7 @@ namespace Slang // it defines keywords like `true` and `false`). // RefPtr<Scope> scope = new Scope(); - scope->parent = getLinkage()->getSessionImpl()->baseLanguageScope; + scope->parent = getLinkage()->getSessionImpl()->slangLanguageScope; // // Next, the scope needs to include all of the // modules in the program as peers, as if they |
