mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-15 12:09:18 +02:00
pastojs: improved error message typeinfo
git-svn-id: trunk@35875 -
This commit is contained in:
parent
3688141236
commit
c52668a0ed
@ -269,6 +269,7 @@ ToDos:
|
|||||||
- asm: pas() - useful for overloads and protect an identifier from optimization
|
- asm: pas() - useful for overloads and protect an identifier from optimization
|
||||||
- source maps
|
- source maps
|
||||||
- ifthen
|
- ifthen
|
||||||
|
- stdcall of methods: pass original 'this' as first parameter
|
||||||
|
|
||||||
Not in Version 1.0:
|
Not in Version 1.0:
|
||||||
- write, writeln
|
- write, writeln
|
||||||
@ -8837,7 +8838,8 @@ begin
|
|||||||
RaiseNotSupported(ErrorEl,AContext,20170409195518,'cannot typeinfo itself');
|
RaiseNotSupported(ErrorEl,AContext,20170409195518,'cannot typeinfo itself');
|
||||||
end;
|
end;
|
||||||
if El.Name='' then
|
if El.Name='' then
|
||||||
RaiseNotSupported(El,AContext,20170412125911,'typeinfo of anonymous '+El.ElementTypeName);
|
DoError(20170421145257,nTypeXCannotBePublished,sTypeXCannotBePublished,
|
||||||
|
['typeinfo of anonymous '+El.ElementTypeName],ErrorEl);
|
||||||
|
|
||||||
C:=El.ClassType;
|
C:=El.ClassType;
|
||||||
if C=TPasUnresolvedSymbolRef then
|
if C=TPasUnresolvedSymbolRef then
|
||||||
|
Loading…
Reference in New Issue
Block a user